Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

io(FileHandle) < $content gets internal errors. #14

Open
ingydotnet opened this Issue · 0 comments

1 participant

@ingydotnet
Owner

Hi there,

The pod for IO::All indicates that a file handle may be passed as the argument to io() but the following does not seem to work:

use File::Temp qw(tempfile);
use IO::All;
my ($fh, $path) = tempfile("/tmp/testing_XXXXX");
my $io = io($fh);
$io < "content";

This results in:
Can't call method "opened" on an undefined value at /home/jima/perl5/lib/perl5/IO/All/File.pm line 87.

I'm using Perl v5.14.2

Thanks for any suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.