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

Re: What delete from symbol table really means? (Deleting typeglob of a specified package)

by LanX (Saint)
on Feb 16, 2015 at 14:25 UTC ( [id://1116871]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        # at compile time
    ...
    $n_glob->{SCALAR}=123;       
    delete $stash{n};
    print $n_glob->{SCALAR};       # > 123
    
  2. or download this
      DB<104> $n=123
     => 123
    
      DB<105> *n{SCALAR}
     => \123
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2024-04-24 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found