Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: stringified references

by demerphq (Chancellor)
on Dec 04, 2002 at 23:51 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-11-27 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?