in reply to no warnings no working while running cgi script under Apache::Registry
qwurx [shmem] ~ > perl use strict; use warnings; my $class = undef; eval { $class->isa('MyClass'); }; warn $@ if $@; __END__ Can't call method "isa" on an undefined value at - line 6.
If you want to supress that error, handle $@ yourself after the eval and set it to the empty string ('') after that.
Please wrap any piece of code you post into <code> tags. See Writeup Formatting Tips.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|