in reply to Re^4: undefined value as filehandle from Curl.pm
in thread undefined value as filehandle from Curl.pm
So open(my $fh, "<", "test.xml"); in your post Re^2: undefined value as filehandle from Curl.pm is from LWP::Curl as well? I don't think that it is.
Change it to open my $fh, "<", "test.xml" or die $!;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: undefined value as filehandle from Curl.pm
by wanderedinn (Sexton) on Jun 28, 2016 at 16:29 UTC |