Subject: | can't fine-tune namespace pollution when use'ing IO::All |
dist: IO-All-0.31
perl: v5.8.3 built for i386-linux-thread-multi
o/s : mikey.emperorlinux.com 2.4.24-emp_2424sw #1 Fri Feb 20 17:56:50 EST 2004 i686 i686 i386 GNU/Linux
synopsis:
$ perl -MIO::All=io -e'print io("/etc/passwd")->slurp;'
Can't open file 'io' for input:
No such file or directory at -e line 1
~~ OR ~~
use IO::All qw(io);
print io("/etc/passwd")->slurp; # throws no such file or dir error
I would expect that I would be able to import *just* the io() subroutine, as documented in 'perldoc perlsub'.