From: "Paul D. Kraus" Date: 2006-05-16T23:13:00+09:00 Subject: Re: GetoptLong Accessing the values with out looping ------=_Part_43361_4788771.1147788777141 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > opts =3D {} and gl.each{|k,v| opts[k.delete('-')] =3D v} > Makes perfect sense in this example you are still looping through the options. All though this is better on the eyes. I was hoping that the instance of getoptlong had some kind of method to get the value of one of the command line options. Paul ------=_Part_43361_4788771.1147788777141--