Hello everyone,

Here's a section of code:
my %options;
my $u;
use strict;
use Getopt::Std;

getopts("dwmyau:", \%options);

How can I get the value of the '-u' option and print it to the screen?

I've tried this:
$u = $options{u};
print "$u";
but that doesn't work...it doesn't print anything.  Can anybody shed some
light on this for me?

Thanks,
Tyler Longren


Reply via email to