Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        getopts( 'w:h:', \%opts );
        print "w: $opts{w}; h: $opts{h}\n";
    }
    
  2. or download this
     $ perl opts.pl -w wassup -h hey
    
  3. or download this
    w: wassup; h: hey