Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

(tye)Re4: mapcar -- map for more than one list

by tye (Sage)
on Jan 22, 2002 at 02:37 UTC ( [id://140511]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        # unless object is valid and either isn't busy or can wait:
        unless(  $a  &&  ref($a)  &&  isa($a,'Foo')
             &&  (  ! $a->IsBusy()  ||  $a->CanWait()  )  ) {
            return;
        }
    
  2. or download this
        # if object is not valid or both is busy and can't wait:
        if(  ! $a  ||  ! ref($a)  ||  ! isa($a,'Foo')
         ||  $a->IsBusy()  &&  ! $a->CanWait()  ) {
            return;
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://140511]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-18 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found