Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Re: Context aware functions - best practices?

by demerphq (Chancellor)
on Jan 16, 2003 at 20:10 UTC ( [id://227476]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    UNIVERSAL::isa($array_ref,"ARRAY") 
          or die "Can't use anything but an array";
    
  2. or download this
    my $array_ref=bless {},"ARRAY";
    
  3. or download this
    eval{ ref($arrayref) and @$arrayref ? 1 : 1 } 
      or die "Must have a reference to something that behaves like an ARRA
    +Y.\n".
             "Failed to coerce '$arrayref': $@";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-26 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found