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

Re: Counting variable initialization

by tlm (Prior)
on Mar 29, 2005 at 18:25 UTC ( [id://443222]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse 443218.pl
    my(@l) = ('10', '20', '30');
    ...
    }
    print $t;
    443218.pl syntax OK
    
  2. or download this
    $ cat 443218.pl
    use warnings;
    ...
    #my $t;
    #$t += $_ foreach @l;
    print $t;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found