As I was looking over the Pod/Perldoc.pm code the other day (in order to make the long-long-long-delayed release), I noted that it used just a few constructs that would stop it from running under, say, Perl 5.00404. There was one qr/.../ (which I could work around very easily), and maybe six or seven three-argument open() calls -- i.e., open($x, ">", $y) instead of older-style open($x, "> $y") (assuming sane values of $y, as I think we can assume in all this perldoc code).

So I got to thinking -- I could easily backport this, i.e., easily change this code to run under older Perls, so that the decent number of people still labouring with 5.005 installs of perl could at least have a nice modern perldoc if they wanted it.

Can anyone see any reason not to do this?

--
Sean M. Burke    http://search.cpan.org/~sburke/



Reply via email to