Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: REQUEST: Getopt for multiple-character switches Message-ID: <1991May20.181746.13923@convex.com> Date: 20 May 91 18:17:46 GMT References: Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Distribution: comp Organization: CONVEX Software Development, Richardson, TX Lines: 16 Nntp-Posting-Host: pixel.convex.com From the keyboard of tnelson@bubba.ma30.bull.com: : :I'd like for my script to accept multiple-character switches. GNU has :a getopt that will process long switches; has anyone done the :corresponding stuff in a new Perl getopt library? : :Any other suggestions on the best way to do this would be very much :appreciated! You might check and see whether perl's -s flag does what you want. (But you'll no longer be able to use a lone "-" to mean stdin.) --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "So much mail, so little time."