"be consistent" | |
PerlMonks |
Re^2: Scalar to @ARGV for Getopt::Stdby oiskuu (Hermit) |
on May 21, 2016 at 00:51 UTC ( [id://1163706]=note: print w/replies, xml ) | Need Help?? |
I can answer part of the "why". (Probably not the OP's reason, though.)
A number of standard tools also take options from environment variables. E.g. less, gzip. This is a dubious practice, for sure. Less instructs the user to terminate any string args with a dollar sign '$' in that case. Gzip's handling of environment The problem may also arise from attempting to bypass shell invocation for whatever reason. 1) Correction: this seems to be fixed in gzip version 1.7.
In Section
Seekers of Perl Wisdom
|
|