in reply to Re^2: return undef
in thread return undef
If so, something like:
P.S. Showing some or all of myfunction() would really help us help you.my $filedata = myfunction(); if (defined $filedata) { print FILEHANDLE $filedata; } else { # handle error... }
|
|---|