hi,
i've writen a function that returns a file handle( or undef if an error occurs). i'm trying to figure out how to call the function and handle the two possible conditions (filehandle or false). it works fine for a file handle but gives me an error for the undef.
the error is