Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Short Refactoring Tip: let the object do it for you

by demerphq (Chancellor)
on May 19, 2003 at 22:49 UTC ( #259332=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($po->status->name =~ /^(sent|pending|waiting|procratinating|delaye
    +d)$/i) {
    
  2. or download this
    my $status=$pos->status;
    if ($status->is('Pending')) {}
    if ($status->in(qw(sent pending waitning procrastinating delayed)) { }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://259332]
help
Chatterbox?
thezip switches the jolokia powder with Folgers Crystals...
[Michael W]: So i can read ok from this how do i put data back inmy @Variables = ( $Map_Request_Date, $Map_Due_Date,$Map _Cutover_Date,$Map _Complete_Date,$Ma p_Approved_Date);

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2017-04-27 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (509 votes). Check out past polls.