Posts Tagged ‘ loops ’

Perl Loop Basics

November 12, 2008
By Killian

For loop The below will print “Hello!” 10 times: for ($i = 0; $i < 10 ; $i++){ print "Hello!\n"; } Output: Hello! Foreach loop For iterating through an array it can be handy to use a foreach loop. In the example below the foreach loop will access each variables in the array and...
Read more »

Tags: , , , ,
Posted in perl | No Comments »

Calendar

    September 2010
    M T W T F S S
    « Jun    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930