in reply to Re^2: eval to replace die?
in thread eval to replace die?
The source of errors isn't always within the script - the "open or die" idiom is used extensively in the documentation, the Camel book etc - for quick scripts, to say, parse a system file and print some useful info, this construct is perfectly suitable - exception handling etc has its place, agreed - but it's a judgement call where that place is.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: eval to replace die?
by chromatic (Archbishop) on Oct 04, 2010 at 14:43 UTC | |
by BrowserUk (Patriarch) on Oct 04, 2010 at 15:48 UTC | |
by chromatic (Archbishop) on Oct 04, 2010 at 16:45 UTC | |
by BrowserUk (Patriarch) on Oct 04, 2010 at 17:57 UTC | |
by mpeters (Chaplain) on Oct 04, 2010 at 21:24 UTC | |
| |
by chromatic (Archbishop) on Oct 04, 2010 at 18:28 UTC | |
| |
Re^4: eval to replace die?
by mjscott2702 (Pilgrim) on Oct 05, 2010 at 08:33 UTC |
In Section
Seekers of Perl Wisdom