[Israel.pm] My CPAN module
Shmuel Fomberg
semuelf at 012.net.il
Sun Jan 6 00:52:12 EET 2008
Hi All.
Thanks for all that helped me.
I have a question. In the API that I made, when a call fails the function
returns undef. And then the return code is stored in $! and detailed message
is stored in $@.
Would it make more sense the store the RC in $! and the detailed message to
be retrived using some $obj->LastError() or something like that?
What would you do?
Thanks,
Shmuel.
More information about the Perl
mailing list