Help for this page

Select Code to Download


  1. or download this
    my %d;
    foreach (@ARGV)
    ...
    
    #this is for checking only..
    foreach (keys %d) { print "$_:" . $d{$_} . "\n"; }
    
  2. or download this
    my $defaults = {};
    %defaults = map {(($_ =~ /([^\=]+)\=(.+)/)?($1 => $2):($_ => ''))} @AR
    +GV;
    print join(",", keys %defaults);