in reply to Re^3: Preferred technique for named subroutine parameters?
in thread Preferred technique for named subroutine parameters?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Preferred technique for named subroutine parameters?
by tilly (Archbishop) on May 22, 2009 at 21:05 UTC | |
by shmem (Chancellor) on May 23, 2009 at 10:22 UTC | |
by Porculus (Hermit) on May 23, 2009 at 23:07 UTC | |
by bluto (Curate) on May 26, 2009 at 16:42 UTC | |
Re^5: Preferred technique for named subroutine parameters?
by AnomalousMonk (Archbishop) on May 22, 2009 at 21:23 UTC |
In Section
Seekers of Perl Wisdom