Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    foreach $_ (0 .. 5) {
        print join("\n", ("hello[$_]" x $_)), "\n";
    }
    
  2. or download this
    Test 4:
    
    ...
    hello[3]hello[3]hello[3]
    hello[4]hello[4]hello[4]hello[4]
    hello[5]hello[5]hello[5]hello[5]hello[5]