Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 taking refuge in the Monastery: (6)
As of 2024-03-28 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found