in reply to Re: Using getopt
in thread Using getopt

Thanks for the replies. That works for me now.

This is getting off the subject, but what exactly is the difference between 'my $opt_i' and the use vars way? And could you point me to where I can read about 'lexical scope' and 'packages'?

Thanks again.

Replies are listed 'Best First'.
Re(3): Using getopt
by FoxtrotUniform (Prior) on Jan 24, 2002 at 22:38 UTC

    Dominus has an excellent article called Coping with Scoping that should help you out. Chapter 5 of the Camel and chapter 6 of the Panther are also relevant.

    --
    :wq