Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

untie() and tied() and UNTIE dont work right inside FETCH with tied scalar

by patcat88 (Deacon)
on Feb 16, 2011 at 13:24 UTC ( [id://888501]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
         print tied($o->{'tiedScalar'})?"tiedScalar is still tied\n":"tied
    +Scalar is now untied\n";
    }
    0;
    
  2. or download this
    C:\Documents and Settings\Owner\Desktop>perl n8.pl
    TIESCALAR
    ...
    myObj destroyed
    
    C:\Documents and Settings\Owner\Desktop>
    
  3. or download this
    C:\Documents and Settings\Owner\Desktop>perl n8.pl
    TIESCALAR
    ...
    myObj destroyed
    
    C:\Documents and Settings\Owner\Desktop>
    

Log In?
Username:
Password:

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

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

    No recent polls found