Ahh..that worked wonderfully. Thank you very much!
Tyler
- Original Message -
From: "Ela Jarecka" <[EMAIL PROTECTED]>
To: "'Tyler Longren'" <[EMAIL PROTECTED]>
Cc: "Beginners list (E-Mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, J
> -Ursprüngliche Nachricht-
> Von: Tyler Longren [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 27. Juni 2001 16:24
> An: Perl Beginners
> Betreff: getopt:std questions
>
>
> Hello everyone,
>
> Here's a section of code:
> my %options;
> my $u;
>
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. Ca