home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!drd!mark
- From: mark@drd.com (Resident.Alien)
- Subject: How to handle switches and args
- Message-ID: <1992Dec16.195350.8532@drd.com>
- Organization: DRD Corporation
- Date: Wed, 16 Dec 1992 19:53:50 GMT
- Lines: 15
-
- What's the current consensus and generally favored
- method to handle switches and args to a script?
-
-
- I'm improving a currently existing script which is wholly interactive
- to take args so I can feed it things from my mail reader.
-
- something like:
-
- | dobug.pl -app foo -cat bar -topic 'This is the topic of this bug report'
-
- Is there some generally approved package to handle such an animal?
- --
- mark.lawrence@drd.com (918)743-3013
- DRD Corp., 5506 South Lewis Ave., Tulsa, OK 74105 (918)745-9037 fax
-