Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: About "state" variables in Perl 5.10

by kyle (Abbot)
on Dec 28, 2007 at 18:04 UTC ( #659365=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use feature qw( :5.10 );
    
    ...
    }
    __END__
    mem usage: 11220
    
  2. or download this
    {
        my $huge = huge_data_structure();
    ...
    print 'mem usage: ', my_mem(), "\n";
    __END__
    mem usage: 116132
    
  3. or download this
    print counter(), "\n";
    {   
    ...
    __END__
    0
    0
    
  4. or download this
    use feature qw( :5.10 );
    
    ...
    __END__
    0
    1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2021-06-21 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (98 votes). Check out past polls.

    Notices?