Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    while (my ($k, $v) = each (%hash)) {
        print "$k = $v\n";
    }
    
  2. or download this
    someSubRoutine (a => 1, b => 'foo', bar => 6);
    
  3. or download this
    my %args = (
       a => 666,
       b => 'foo',
       @_  # or the modulus slice
    );