Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 having an uproarious good time at the Monastery: (5)
As of 2015-07-02 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls