Use one option more than once with Getopts

2005-06-17 Thread Larsen, Errin M HMMA/IT
Hi Perl folks, Is there a way to use the Getopts modules to accept more than one instance of a single option? Here is an example command line that I would like to see: # mailfiles -f filename1 -f filename2 [EMAIL PROTECTED] [EMAIL PROTECTED] I'm writing a script to send an email (using

RE: Use one option more than once with Getopts

2005-06-17 Thread Larsen, Errin M HMMA/IT
Larsen, Errin M HMMA/IT wrote: Hi Perl folks, Is there a way to use the Getopts modules to accept more than one instance of a single option? Here is an example command line that I would like to see: # mailfiles -f filename1 -f filename2 [EMAIL PROTECTED] [EMAIL PROTECTED]