in reply to Using the DATA file handle for ARGV
This snippet is really interesting and could prove useful later, thanks for sharing (:
There's something I find strange. Typeglob aliasing usually transfers all magic. Try this:
*a = *\; $a = 42; print; # prints 42However, in this case, it looks like @ARGV and $ARGV are stripped of all magic by the manipulation (@DATA and $DATA ain't getting any magic neither). Can somebody explain what's happening there?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using the DATA file handle for ARGV
by ikegami (Patriarch) on Nov 13, 2013 at 18:22 UTC | |
Re^2: Using the DATA file handle for ARGV
by Anonymous Monk on Jun 01, 2013 at 06:54 UTC | |
by Grimy (Pilgrim) on Jun 01, 2013 at 21:30 UTC | |
by Anonymous Monk on Jun 02, 2013 at 00:43 UTC |