in reply to Processing command line based on user input
Search for Getopt and Getoptions::Long
A quick sample:
use Getopt::Std; use Data::Dumper; $options={}; getopt("df",$options); print Dumper($options);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Processing command line based on user input
by iphone (Beadle) on Nov 20, 2010 at 05:01 UTC |