P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
You may read this by brian_d_foy. $ERRNO is not what you want. One option might be to rewrite you code like this:
Then check if the result of your sub call is defined and die with some custom error message if not. And probably you may find a more robust recipe on PM how to test if some date is valid. Best regards, Karl «The Crux of the Biscuit is the Apostrophe» perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help In reply to Re^2: Should I worry about "Inappropriate ioctl for device"?
by karlgoethebier
|
|