Just another Perl shrine | |
PerlMonks |
Re: Re: Nicer If...by Biker (Priest) |
on Jul 13, 2001 at 16:53 UTC ( [id://96370]=note: print w/replies, xml ) | Need Help?? |
I like your idea. It's well suited for the example
situation. But...
This sub (that I use in a project) is both generic and scales well. It's not as Perlish beautiful as some examples, but it's quick. As you will see, it's part of a module.
Update:
should be reduced to: since $self is redundant. Sorry about that.
f--k the world!!!! Edit Masem 2001-07-13 - Code Tags
In Section
Seekers of Perl Wisdom
|
|