P is for Practical | |
PerlMonks |
Re^3: Using eval: $@ isn't returning the error I expectby haukex (Archbishop) |
on Feb 20, 2020 at 00:08 UTC ( [id://11113207]=note: print w/replies, xml ) | Need Help?? |
The $ perl -le ... indicates that this is a command typed at the command line (as a demo), not something you should simply copy & paste into your script as a whole line - the code is inside the single quotes after the -e switch here (see also perlrun).
In Section
Seekers of Perl Wisdom
|
|