jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
sub test { my ($self, $inp_hash_ref, ....) = @_ ; if ( ref($self) !~ /__PACKAGE__/ ) { $inp_hash_ref = $self ; ....... } } .....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regexp and __PACKAGE__
by japhy (Canon) on Feb 14, 2006 at 16:05 UTC | |
|
Re: regexp and __PACKAGE__
by brian_d_foy (Abbot) on Feb 14, 2006 at 16:46 UTC |