in reply to Another Getopt::Long questions

Update: Hmmm... I guess was thinking about Getopt::Standard. enlil's answer appears correct and my reference below is superfluous.

Try this:

#!/usr/bin/perl -w use strict; use Getopt::Long; use Data::Dumper; my %options; GetOptions( \%options, 'length|height=i' => \$options{length} ); print Dumper \%options;

Cheers,
Ovid

New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)