Chas. Owens wrote:
What no one has said so far is the importance of using Carp when throwing 
errors related to how the function was called.  The Carp module provides 
versions of warn (carp) and die (croak) that give the line and file where the 
call to the function occurred rather than the line of the carp or croak:

Unfortunately, having the carps displayed to the user when using CGI
doesn´t always work ...

And I still need to have the arguments verified by obsolete code before
carp could step in ...

It´s amazing that such a very basic feature as 'signatures' is still
experimental.  Why wasn´t it implemented right away when functions were,
as it should have?  We´re really being left hanging in a void here.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to