#!/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";
In reply to Re: Getopt::Std dies or returns empty var
by derby
in thread Getopt::Std dies or returns empty var
by bonoboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |