I mainly want to start using the '//' (defined-or) operator to
simplify code, and Perl 5.10.1 is roughly a decade old at this
point.
"given/when" would've be nice, but it's future is in doubt AFAIK.
I also started using the 'parent' module in WwwHighlight, and
'autodie' in UserContent.pm, both of which were only distributed
with Perl since 5.10.1; and testing with ancient
versions/distros is time-consuming.
Anyways, I think this a small-enough jump to not break any
existing installations, given we already depend on fairly
recent versions of git and Xapian.
Maybe we can use more newish Perl features in the future...
functionality. The core tools are, of course:
* Git (1.8.0+, 2.6+ for writing v2 repositories)
functionality. The core tools are, of course:
* Git (1.8.0+, 2.6+ for writing v2 repositories)
* SQLite (needed for Xapian use)
To accept incoming mail into a public inbox, you'll likely want:
* SQLite (needed for Xapian use)
To accept incoming mail into a public inbox, you'll likely want:
# - Must not rely on static content
# - UTF-8 is only for user-content, 7-bit US-ASCII for us
package PublicInbox::WWW;
# - Must not rely on static content
# - UTF-8 is only for user-content, 7-bit US-ASCII for us
package PublicInbox::WWW;
use strict;
use warnings;
use bytes (); # only for bytes::length
use strict;
use warnings;
use bytes (); # only for bytes::length