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: 46866
Status: rejected
Priority: 0/
Queue: IO-All

People
Owner: Nobody in particular
Requestors: mackenziespamcatcher [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.39
Fixed in: (no value)



Subject: Cannot create a usable IO::All object from a file handle
This bug behavior is described in PerlMonks: http://www.perlmonks.org/?node_id=770478 Although the docs indicate that you should be able to: open(HANDLE, '<', 'my.file'); $i = io(\*HANDLE); or $h = new IO::File(); $h->open('< my.file'); $i = io($h); and you can get an IO::All object out of it, that object is malformed and will cause fatal errors when you try to do anything useful with it, like for instance calling $i->getline. In this case you get: Can't call method "opened" on an undefined value at c:/perl/site/lib/IO/All/File.pm line 87. More discussion is available in the link above.