From: dblack@... Date: 2006-12-15T01:27:04+09:00 Subject: Re: Swap contents in two files Hi -- On Fri, 15 Dec 2006, ara.t.howard@noaa.gov wrote: > On Fri, 15 Dec 2006 dblack@wobblini.net wrote: > >> Hi -- >> >> On Fri, 15 Dec 2006, ara.t.howard@noaa.gov wrote: >> >>> a, b, ignored = ARGV >> >> You can also do: >> >> a, b = *ARGV >> >> (which I know you know but it's just another option for anyone who >> doesn't want the extra variable :-) > > quite right. i've moved to the former because it's self doccumenting : a > crutch for my feeble mind and almost complete lack of doccumentation skills! Come to think of it... you can do: a, b = ARGV I'm not sure why the star presented itself to my brain. David -- Q. What's a good holiday present for the serious Rails developer? A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black) aka The Ruby book for Rails developers! Q. Where can I get Ruby/Rails on-site training, consulting, coaching? A. Ruby Power and Light, LLC (http://www.rubypal.com)