From: ggarramuno@... (GGarramuno) Date: 2004-01-09T16:11:41+09:00 Subject: Re: ANN: First release of Perl's Getopt::Declare for ruby > >One suggestion: make it possible to apply to an arbitrary array, rather >than just ARGV (or is this already possible?). Yes, it's possible, but you have to convert it to a space separated String first (just use join ' '). If you pass an array, it is taken to be a list of files and will try to open them for parsing the flags. Just pass this string as the second optional parameter to new() or as the optional parameter to parse(). I've updated the dist with a sample of it, too. it's probably possible to get the syntax to be: defer { file.each {|i| Indeed, it should be. That's how the original perl one worked. Done. I also fixed a mutex problem and some Perl references in the docs, too. Put it back on rubyforge, as v1.09.2 Thanks.