Help for this page

Select Code to Download


  1. or download this
    The regular expression:
    
    (?m-isx:^\s*(\S+)\s+(\S+)\s*$)
    ...
    ----------------------------------------------------------------------
    )                        end of grouping
    ----------------------------------------------------------------------
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    use Data::Dumper;
    ...
       $hash{$1} = $2;
    }
    print Dumper \%hash;