Maybe this is Perl envy, maybe I'm just doing something wrong.
I'd like to be able to say this:

  x, y = "foo bar" =~ /(foo) (bar)/

and x == "foo" and y == "bar"

Currently, String#=~ returns the character of the first match.
I have to do this:

  "foo bar" =~ /(foo) (bar)/
  junk, x, y = $~.to_a
or
  x, y = $1, $2

More Perl wantsarray() envy, too.  ;-) 

-- Dossy

-- 
Dossy Shiobara                       mail: dossy / panoptic.com 
Panoptic Computer Network             web: http://www.panoptic.com/ 
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)