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... }
In reply to Re^3: return undef
by ysth
in thread return undef
by dwijew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |