Help for this page

Select Code to Download


  1. or download this
    ./test.pl r,2,g,2,w,1
    
  2. or download this
    #!/usr/bin/perl
    use Data::Dumper;
    my $arg = shift;
    my %actualhash = eval $arg;
    print Dumper \%actualhash;
    
  3. or download this
    $VAR1 = {
              'w' => 1,
              'r' => 2,
              'g' => 2
            };
    
  4. or download this
    ./test.pl r,2,g,2,w,1,q,1
    $VAR1 = {};