> > > > Hi, > > i am using the Getopt::Std package in my code. > > > > > > use Getopt::Std; > > > > getopts('s:'); > > > > $a = $opt_s
By the way, you don't really need to assign the $opt_x variables to a new variable. $opt_s will be persistant, unless you run getopt again, which would be odd. There's nothing special about the $opt_x variables, other than that getopt packages makes them for you. By the way, mark II: A round of applause for the author of this clever and elegant package Getopt::Std. Whoever it is. :-) -- Just below the surface of our everyday world lie riches. http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>