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?
In reply to Re: Using the DATA file handle for ARGV
by Grimy
in thread Using the DATA file handle for ARGV
by samwyse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |