I poked with the Error module today and played with exceptions. It's pretty neat, and I think I'd like to incorperate it into future projects to use instead of using eval
and checking $@
directly. It seems to be a much more readable and functional alternative, plus I'm sure there are concepts I'm not picking up (probably from my little experience with Java). I haven't completely wrapped my head wround except
yet, but I'm getting there.
Commercials that need to go:
Re:Error.pm's "interface"
statico on 2004-12-26T22:27:23
Interesting... I certainly understand your point about closures and could see how the use of Error would let you hose things unwittingly. Thanks for pointing this out:)