Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Short Refactoring Tip: let the object do it for youby crenz (Priest) |
on May 20, 2003 at 14:06 UTC ( [id://259453]=note: print w/replies, xml ) | Need Help?? |
if ($po->status->name =~ /^(sent|pending|waiting|procratinating|delayed)$/i) { Shouldn't that be "procrastinating"? That typo already shows the dangers that lurk in this approach :).
In Section
Meditations
|
|