|Think about Loose Coupling|
Re^2: RFC: Lexical Fatal.pm for Perl 5.10by pjf (Curate)
|on Mar 09, 2008 at 08:26 UTC||Need Help??|
why not just make this a patch for Fatal triggered by an option on the use line
This is an excellent idea, and one I really should have considered and mentioned in my original post. I'm very happy with the idea of a patch to Fatal; it keeps everything together, and it certainly simplifies the code.
Downsides of patching Fatal are:
The advantages are that it goes in the core for everyone to enjoy, my ability to reuse code in Fatal becomes much much easier, and the functionality goes in the place where I imagine most people will expect it to be.
I'll open discussions with p5p to see their thoughts. Of course, I still very much appreciate feedback on the original proposal as well.
Perl Training Australia