|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^4: Preferred technique for named subroutine parameters?by akho (Hermit) |
| on May 22, 2009 at 21:00 UTC ( [id://765750]=note: print w/replies, xml ) | Need Help?? |
|
Quite the opposite: moving func to a separate module makes Carp work.
And it gives an error that is more specific (for example, it includes the name of the function) than the generic message returned by the anonymous hash. Besides, it actually dies, not prints something and then goes on as if nothing happened.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||