Help for this page

Select Code to Download


  1. or download this
    my %F =   (a=>1, b=>2, c=>3);
    my @F = qw(a 1 b 2 c 3);
    foo(%F);
    foo(@F);
    
  2. or download this
    #New simpler code to avoid slices
    my %F =   (a=>1);
    my @F = qw(a 1);
    foo(%F);
    foo(@F);