Perl: the Markov chain saw | |
PerlMonks |
Re: Using the DATA file handle for ARGVby Voronich (Hermit) |
on May 30, 2013 at 14:39 UTC ( [id://1036069]=note: print w/replies, xml ) | Need Help?? |
I really love this idea. I've been frustrated by the situation that this solves too many times to count (in most scripts in fact.) It's funny. I've always thought in terms of 'arguments overriding defaults' and coded with that in mind. Hijacking ARGV with defaults would never have occurred to me if I hadn't seen it here.
In Section
Meditations
|
|