you can use the Getopt::std module for that
it allows you to use flags like you know from your *nix system
it will store them in either a hashref or simple scalars, so it's quite
nifty
perldoc getopt::std for more info
hth
Jos Boumans
----- Original Message -----
From: "saliminl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 10:11 PM
Subject: command line flags
> How do I take, for example, a file input name and command line flags when
> opening a perl script? My desired input style is:
>
> % eproc -n FILENAME -m -d etc.
>
> I need to make everything a scalar. Thanks
>
> Neema Salimi
> [EMAIL PROTECTED]
>
>