develooper Front page | perl.perl5.porters | Postings from October 1999

meaningful errors...

From:
Nik Vogiatzis
Date:
October 25, 1999 17:30
Subject:
meaningful errors...
Message ID:
71A359DD8567D111AD3200805F8B89F0EEFF42@AUADMTA001
Hi all... 

This may just be a simple question, but I have been thrown in at the
deep end and asked to support a Perl Server application with little to
no Perl experience...

I know I can get an error number by using

$?

and if i associate it with a variable

my $err_no = $? >> 8;

I can get a error number... but, how can i turn that into something
meaningful that I can then supply the user??

Cheers and thanks in adavnce (and sorry if this is the wrong listserve
for this...)
Nik

----------------------------
Nikolaos Vogiatzis
Contract Analyst/Programmer
Information System - TransAdelaide Mile End
*	ph. +61 8 821 84361 
*	mob. +61 413 278 902 
*	fax. +61 8 821 84040
email: vogiatzis.nik@TransAdelaide.sa.gov.au (TransAdelaide)




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About