Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Mini-Tutorial: Perl's Memory Management

by ikegami (Pope)
on Oct 27, 2009 at 20:25 UTC ( #803515=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $s = undef;
    @a = ();
    %h = ();
    
  2. or download this
    undef $s;
    undef @a;
    undef %h;
    
  3. or download this
    $ perl -MDevel::Peek -e'
        $s = "abc"; Dump $s;
    ...
      REFCNT = 1
      FLAGS = ()                 <-- Var is undefined
      PV = 0                     <-- undef freed the buffer
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-07-29 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls