in reply to Processing command line arguments

For part 1), you might have to ignore the Getopt:: schtuff and just roll your own by hacking through @ARGV. It's ugly, it's messy, its mama dresses it funny, but it can work. I don't recommend it if you can avoid it, but sometimes ya gots ta do what ya gots ta do, especially when there's a deadline. Just don't expect leaps of joy and shouts of happiness when you go through a code review.

--
tbone1, YAPS (Yet Another Perl Schlub)
And remember, if he succeeds, so what.
- Chick McGee

Replies are listed 'Best First'.
Re^2: Processing command line arguments
by OfficeLinebacker (Chaplain) on Mar 29, 2007 at 13:49 UTC

    tbone, just wanted to say thanks for a) giving me a nice laugh to start a day of hard work and b) lending weight to my suspicion that just looping through @ARGV is what's going to get it done.

    Time to make the doughn...er...program!


    I like computer programming because it's like Legos for the mind.