in reply to How can I use regex to copy each word of a string into a hash?

I'm not quite sure what you're asking for. Did you want something like this?
@hash{$string =~ /(\w['\w-]*)/g} = ();
  • Comment on Re: How can I use regex to copy each word of a string into a hash?
  • Download Code