in reply to How can I get Perl via Carp, to SCREAM -- more informative output via cluck(),confess(),longmess()?
That's actually a bad example, because it's cat, not perl, detecting that the file doesn't exist. Perl can't add to this - not even the shell can't, because it doesn't know what cat will do with that argument string.
That is the problem with all system and related functions (backticks, etc). Pure perl programs probably do profit from Carp and consorts.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can I get Perl via Carp, to SCREAM -- more informative output via cluck(),confess(),longmess()?
by taint (Chaplain) on Dec 07, 2013 at 20:30 UTC |