in reply to Auto-open ARGV

perl -MStorable=retrieve -e 'print +(retrieve shift)->foo' filename

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: Auto-open ARGV
by diotalevi (Canon) on Mar 07, 2003 at 17:14 UTC

    Thats nice - I was hoping to get the STDIN or @ARGV behaviour though. I thought that was apparent from wanting to get <> behaviour.


    Seeking Green geeks in Minnesota

        Ah! I'd forgotten about '-'. Thanks for reminding me.