diotalevi has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to be able to write perl -MStorable=fd_retrieve -e 'print +(fd_retrieve \*ARGV)->foo' filename except that ARGV doesn't open unless <> is touched once. I was thinking it'd be nice to be able to do something <>-like except with the handle reference instead. So am I just out of luck here?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Auto-open ARGV
by merlyn (Sage) on Mar 07, 2003 at 17:09 UTC | |
by diotalevi (Canon) on Mar 07, 2003 at 17:14 UTC | |
by merlyn (Sage) on Mar 07, 2003 at 17:22 UTC | |
by diotalevi (Canon) on Mar 07, 2003 at 17:24 UTC |