I played with die, but didn't realy like messing with error codes as thats seemed a good source of typos. So i was thinking about using Error.pm instead. After sleeping on it, i think i want both Exceptions and a Context object to hand around. That way plugins can do thow Plugin::AbortEvent("Failed to load file") and use the context object/hash to pass around input and output variables.
In reply to Re^2: Exceptions vs Context Objects
by eric256
in thread Exceptions vs Context Objects
by eric256
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |