in reply to Enter Filename

The "-s" option documented in "perlop perlrun" can help you parse and assign parameter values. This is useful for quick/dirty scripts.

For maximum power/flexibility , use Getopt::Long.;

             I hope life isn't a big joke, because I don't get it.
                   -SNL