|
|
| Just another Perl shrine | |
| PerlMonks |
Re^6: eval to replace die?by chromatic (Archbishop) |
| on Oct 04, 2010 at 16:43 UTC ( #863376=note: print w/ replies, xml ) | Need Help?? |
|
Should we scrap regexes all together? How do you go from "Converting structured information to strings, then using regular expressions to attempt to extract structured information is fragile" to "Don't use regular expressions"? Or just $@ =~ /^Uninitialised variable/ to match just the invariant part of the error. Invariants often aren't. See also theory's comment about localizing Bricolage. And you've never had to restructure your exceptions? Of course I have. Code changes. Changing regular expressions used for control flow because data has changed is different.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||