David Christensen writes:
>
> 9$hash{ __PACKAGE__ } = __LINE__;
A mistake everybody makes once, but hopefully no more than once.
:)
As a bit of gratuitous self-promotion, repeat offenders may try
Perl::Critic::Policy::ValuesAndExpressions::UnexpandedSpecialLiteral
The Sidhekin wrote:
> The packages you declare "internal" are not what you think they are.
> Observe:
>
> sidhekin@bluebird[07:57:50]~$ perl -le '$t{ __PACKAGE__ }++; print
keys %t;'
> __PACKAGE__
I noticed that in the debugger, but didn't know if it was a literal
string or a shortcut simila
On Mon, Jan 17, 2011 at 4:44 AM, David Christensen <
dpchr...@holgerdanske.com> wrote:
> module-authors:
>
> I'm not sure where to ask this question, so please refer me to a better
> resource if there is one...
>
>
> I'm trying to implement a centralized exception generation function, say
> myconf
module-authors:
I'm not sure where to ask this question, so please refer me to a better
resource if there is one...
I'm trying to implement a centralized exception generation function, say
myconfess(), that I can use throughout my code. myconfess() will do
some things and then call Carp::c