Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
    my @arr=['rose','orange','green'];
    $hash{"first"}=[@arr];
    print STDERR Dumper(\%hash);
    
  2. or download this
    my @newarr=['red','blue'];
    
  3. or download this
    $hash = {
              'first' => [
                             'rose',
    ...
                            'red'
                          ]
            };