in reply to Re^5: undefined value as filehandle from Curl.pm
in thread undefined value as filehandle from Curl.pm

Yes, that is in my code. But, the error generated when running the script was not referencing my code:

Can't use an undefined value as filehandle reference at /home/geof/httppost/lib/perl5/site_perl/5.8.8/LWP/Curl.pm line 236.

my example code I posted should have had:

open(my $fh, "<", "test.xml") or die "could not open input file ($!)\n";

I had posted an older version of the code