From: darren kirby Date: 2006-08-09T05:02:37+09:00 Subject: Re: Global variables considered harmful? --nextPart1160735.9pGsJP0WdQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline quoth the Francis Cianfrocca: > On 8/8/06, darren kirby wrote: > > Look at optparse for a better way to do command line arguments. Look > at OpenStruct for a better way to pass them around your program. Hi, I am already using getOptLong to parse the command line and it works fine, = are=20 you saying that optparse is preferable here? In any event, using a plain or open struct seems like a better way to go th= an=20 using a class. Thanks guys, =2Dd =2D-=20 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." =2D Dennis Ritchie and Ken Thompson, June 1972 --nextPart1160735.9pGsJP0WdQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQBE2O28wPD5Cr/3CJgRAl7kAJsGYtxI+MTeaH2SxI6oVErpjGVSRQCffaTA 3595YGsQCvZTxyCvI6STFhI= =11JG -----END PGP SIGNATURE----- --nextPart1160735.9pGsJP0WdQ--