Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Common Beginner Mistakes

by Elias (Pilgrim)
on Jan 27, 2001 at 16:15 UTC ( #54746=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for ($results = 2; $results <34; $results++) {
                my $file="current$results.res";
    ...
                  ....
                }
            
    
  2. or download this
    for ($results = 2; $results <34; $results++) {
                    my $file="current".$presence.".res";
                    ....
                    }
    
  3. or download this
     @tree1=@samples[0..2];
      ...  (another 10 of those)
    ...
     foreach $patch(@$arrayname) {
           ... do something
           }
    
  4. or download this
     my %trees = (1 => "@samples[0..2]", 
                              ... (another 10 of these)
    ...
                    foreach $patch(@patches) {
                                 ... do something
                     }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-09-22 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls