in reply to Re: calling sub and returning value from the same linein thread calling sub and returning value from the same line
open FH, ">$file" or error("msg"), return undef; [download]