Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Discipulus (Canon)
on Feb 16, 2015 at 09:39 UTC ( [id://1116851]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    show_foo
    
  2. or download this
      $n = 123;
      delete $::{n};
    ...
    
    #OUT
    123456
    
  3. or download this
      $n = 123;
      sub get_n { $n }
    ...
    123456
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    show_foo
    n
    Undefined subroutine & called at ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found