Just another Perl shrine | |
PerlMonks |
Take reference and then dereference die() and warn()by dmitri (Priest) |
on Nov 07, 2013 at 21:27 UTC ( [id://1061628]=perlquestion: print w/replies, xml ) | Need Help?? |
dmitri has asked for the wisdom of the Perl Monks concerning the following question:
Friends,
Perhaps I have been away from Perl for too long, but the following problem has me baffled. I would like to die or warn depending on a setting. The following does not work: This gives me Undefined subroutine &main::die called.... Neither can I successfully reference CORE::die or CORE::GLOBAL::die. I have two questions:
Thanks! UPDATE: My perl is 5.10.1
Back to
Seekers of Perl Wisdom
|
|