Help for this page

Select Code to Download


  1. or download this
    @a= <>;
    
  2. or download this
    @a= <>;
    foreach (@a) {
    ...
       ++$count;
       }
    print "total of $count items is $total\n";
    
  3. or download this
    1
    2
    ...
    6
    ^Z
    total of 4 items is 14