in reply to Getopt::Std dies or returns empty var
#!/usr/local/bin/perl -w use strict; use Getopt::Std; our( $opt_u ); getopt('u'); die "no u option passed\n" unless $opt_u; print "username is $opt_u\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Getopt::Std dies or returns empty var
by bonoboy (Sexton) on Mar 11, 2004 at 13:14 UTC | |
by grinder (Bishop) on Mar 11, 2004 at 13:50 UTC |