Path: usenet.cis.ufl.edu!usenet.eel.ufl.edu!gatech!news.mathworks.com!news.kei.com!simtel!news.sprintlink.net!psgrain!nntp.teleport.com!usenet
From: [email protected] (Jong)
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc
Subject: An easy getopt like code. easy_opt.pl
Followup-To: comp.lang.perl.misc
Date: 22 Sep 1995 14:53:44 GMT
Organization: Protein Engineering
Lines: 21
Approved: [email protected] (comp.lang.perl.announce)
Message-ID: <[email protected]>
NNTP-Posting-Host: linda.teleport.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cis.ufl.edu comp.lang.perl.announce:129 comp.lang.perl.misc:6932

Hi,

I am using a subroutine which handles options which
uses an 'Option Table' in the running program. It
reads the program where it belongs to and assigns
values to vars according to the table. So, it is a matter
of editing the option table to handle any combination
of options.
I find this useful and want to see if it is the case for
others.

It is in   ftp.mrc-cpe.cam.ac.uk  /pub/jong/perl  with the
name of   easy_opt.pl.  Just type  'easy_opt.pl  a' to
get some idea.

Welcome criticism and comments.

Thanks

Jong