Hi, i am using the Getopt::Std package in my code.
use Getopt::Std; getopts('s:'); $a = $opt_s this is how i run my program from command line " > my_program.pl -s pattern now if "pattern" is something like abcd[12] how do i make my program accept the index 12 as a part of the string for option -s ? i would appreciate if anybody can help me on this. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>