Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: stringified references

by demerphq (Chancellor)
on Dec 04, 2002 at 23:51 UTC ( [id://217629]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $is_blessed = defined($x) && ref($x) && overload::StrVal($x) =~ /=/;
    
  2. or download this
     
    $is_blessd=defined($x) && ref($x) && (index(overload::StrVal($x),'=')>
    +=0);
    
  3. or download this
    $is_blessd=defined($x) && ref($x) && (index(overload::StrVal($x),'=')>
    +=0) 
        && overload::StrVal($x)!~/^Regexp=SCALAR/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2024-03-28 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found