home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / perl / 7466 < prev    next >
Encoding:
Text File  |  1992-12-16  |  795 b   |  25 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!drd!mark
  3. From: mark@drd.com (Resident.Alien)
  4. Subject: How to handle switches and args
  5. Message-ID: <1992Dec16.195350.8532@drd.com>
  6. Organization: DRD Corporation
  7. Date: Wed, 16 Dec 1992 19:53:50 GMT
  8. Lines: 15
  9.  
  10. What's the current consensus and generally favored
  11. method to handle switches and args to a script?
  12.  
  13.  
  14. I'm improving a currently existing script which is wholly interactive
  15. to take args so I can feed it things from my mail reader.
  16.  
  17. something like:
  18.  
  19. | dobug.pl -app foo -cat bar -topic 'This is the topic of this bug report'
  20.  
  21. Is there some generally approved package to handle such an animal?
  22. -- 
  23. mark.lawrence@drd.com                                     (918)743-3013
  24. DRD Corp., 5506 South Lewis Ave., Tulsa, OK 74105         (918)745-9037 fax
  25.