Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the IO-All CPAN distribution.

Report information
The Basics
Id: 8195
Status: rejected
Priority: 0/
Queue: IO-All

People
Owner: Nobody in particular
Requestors: adamm [...] wazamatta.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



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'.
On Sun Oct 31 17:20:32 2004, AMONSEN wrote: Show quoted text
> 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'.
This no longer seems to be the case, as it only exports io and the above code runs correctly. Must have been fixed in the last 10 years.