Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

isa() on any scalar

by mrborisguy (Hermit)
on Jun 10, 2005 at 17:36 UTC ( [id://465614]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if( $value->isa( "Node" ) ) {
       # It's okay to put $value into the parent attribute
    }
    
  2. or download this
    $obj->parent( 0 );
    is( $obj->parent, undef );
    
  3. or download this
    if( ref( $value ) && ref( $value ) ne "SCALAR" && ref( $value ) ne "AR
    +RAY" && ref( $value ) ne "HASH" && $value->isa( "Node" ) ) {
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://465614]
Approved by polettix
Front-paged by injunjoel
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found