in reply to Using getopt

Ovid has a excellent explaination of varible types in 'our' is not 'my' else the "Camel Book" formerly known as Programming Perl will help you.

grep
grep> cd pub
grep> more beer