http://www.perlmonks.org?node_id=827723


in reply to Re: How to use getopts to look in a file and submit each item in the file to a job with different switches.
in thread How to use getopts to look in a file and submit each item in the file to a job with different switches.

The OP sent me the following message:
"hank you for your response. I know my code is a mess. What I am trying to find out is how to use Getopt effectively to run a script on a group file."

First, if you know your code is a mess then then you are halfway there - the other half is to fix it. Perl::Tidy might be a start, and another is Perl::Critic.

Please excuse my ignorance but I have no idea what a "group file" is, unless you mean /etc/group, which does not seem to fit your code. I asked Ms. Google and she came up with BZFlag (which I never heard of) and a search of CPAN gave BZFlag::Info. I have no idea if that is relevant, but you might like to follow that line of enquiry yourself.
  • Comment on Re^2: How to use getopts to look in a file and submit each item in the file to a job with different switches.