ARGV::readonly - make <> open files regardless of leading/trailing whitespace and/or control characters such as |, >, amd <.
this module allows
to be safer in hostile environments where one is bullheaded enough to give * as the command line argument. See rants on P5P from July, 2008.
the code is shorter than the documentation. Please look at it.
None by default.
ideally a suite of ARGV::* modules will appear, each doing their little thing, in a way that they won't stomp on each other's toes. This module has no exclusion interface or anything, so an @ARGV modifier that, for instance, preprocesses *.gz into "gunzip -c $_ |" is either going to have to undo the mods made here or be incompatible.
"gunzip -c $_ |"
modified suggestion made by Tom Christiansen in Message-ID: <24692.1217339882@chthon>
July 2008 perl5 porters archive
furtively assembled by David Nicol <firstname.lastname@example.org>
This module is hereby placed in the public domain.
To install ARGV::readonly, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.