in reply to Re: undefined value as filehandle from Curl.pm
in thread undefined value as filehandle from Curl.pm
That's not the OP's code. That's code in the LWP::Curl module itself: LWP::Curl line 234.
Also, that open should never technically fail, as the file ($content) is declared on the immediate line above. However, it should still be checked, even if out of habit alone, as perhaps corrupt/lack of memory or other oddness can still prevent the open.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: undefined value as filehandle from Curl.pm
by Anonymous Monk on Jun 28, 2016 at 17:36 UTC | |
by Marshall (Canon) on Jun 30, 2016 at 16:34 UTC |