JUANMARCOSMOREN <[EMAIL PROTECTED]> writes:

>>     $got = get 'http://perl.org/';
>>     die "could not get page: $LWP::Simple::error" if not defined $get;

>PLEASE, DON'T ADD GLOBAL VARIABLES!!!

I was only following the existing style of Perl's $! variable.

>Global variables are bad programing!!!

It is worse programming IMHO to just report 'operation failed' without
giving any details of how or why.

-- 
Ed Avis <[EMAIL PROTECTED]>

Reply via email to