[Israel.pm] setting $!

Shlomo Yona shlomo at cs.haifa.ac.il
Sun Jul 18 21:41:51 PDT 2004


On Sun, 18 Jul 2004, Yosef Meller wrote:

>  > 	my $s = foo() or die "foo: $!";
> perlvar says you can assign a numerical errno value to it. But whyu not
> use Error.pm or something similar? Or use the common method of setting
> $PKG::errstr and returning undef? Just curious.

Can you please give examples? I am not familiar with these
common methods.


-- 
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/



More information about the Perl mailing list