#!/usr/bin/perl -w use strict; use vars qw($opt_h); use Getopt::Std; getopts("hiy:"); if(defined $opt_h) { print "\n"; print " Usage: sample.pl [options]\n"; print "Options:\n"; print " -h display help.\n"; exit; }
"Its not how hard you work, its how much you get done."
In reply to Command Line Options - Perl on Win32 by roho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |