in reply to Re: Re: Error not reported while processing an open file
in thread Error not reported while processing an open file

But the way I needed to use was to have several variables to be returned, which would be easier with global variables than with several functions

Yes you can do that in Perl quite easily:
my ($var1, $var2, $var3) = MyFunction(); sub MyFunction { return ('VAR1', 'VAR2', 'VAR3'); }

Replies are listed 'Best First'.
Re: Re: Re: Re: Error not reported while processing an open file
by qhayaal (Beadle) on Mar 13, 2004 at 19:05 UTC
    I didn't see this in the book, I again verified. :( Monks are the best pals. :) Thanks again for the tip.
    Have a nice day. :)