If you wish to embed whitespace (newlines, spaces, tabs), and '#' initiated comments in a regular expression, you should end the regexp with the /x modifier. See perlre for details.
The /x modifier is very useful because it makes it easy to break regular expressions into visually recognizable chunks, possibly spanning multiple lines.
Dave
In reply to Re: Building a Hash with Multiple Values
by davido
in thread Building a Hash with Multiple Values
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |