From: jeremy@... (Jeremy Henty) Date: 2002-04-14T18:20:25+09:00 Subject: Re: Silence warning In article <20020413204322.F34216@ninja1.internal>, Sean Chittenden writes: >ARGV is a global variable that is prepopulated for you with the >command line arguments... why would you want to change the contents >of that variable? I often have cause to do that when writing Perl, because Perl has shortcuts that treat @ARGV as a list of files. This makes it useful to write a BEGIN block that assigns to @ARGV or shifts flag arguments out of @ARGV etc. IIRC Ruby also supports these Perl-ish idioms and BEGIN blocks, so I wouldn't be surprised to find assigning to ARGV to be just as useful at times in Ruby. Regards, Jeremy Henty -- http://www.rubygarden.com/ruby?JeremyHenty Ruby: programmer's best friend -- John Robson