http://qs321.pair.com?node_id=773686


in reply to Understanding regular expressions: why do I have to use map to clear up undefs in regex output?

Yet another solution ;) Just remove the quotes after you do your splitting.

@b = map { s/\"//g; $_ } @a;


___________
Eric Hodges
  • Comment on Re: Understanding regular expressions: why do I have to use map to clear up undefs in regex output?
  • Download Code