Problems? Is your data what you think it is? | |
PerlMonks |
Unexpected behaviour of /x Regexp modifier?by jvector (Friar) |
on Mar 16, 2009 at 19:25 UTC ( [id://750992]=perlquestion: print w/replies, xml ) | Need Help?? |
jvector has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, What am I doing wrong here? I read a line of text and do a simple match. Because I want to Do It Right, I use /x. And it Doesn't Work. The lines look like this:
and the code is below :
Running under -d, I get this:
I've just checked and it's not an artefact of running in the debugger; I made 2 versions with and without the /x, and they run differently. I'm obviously missing something very ... obvious. This signature no verb
Back to
Seekers of Perl Wisdom
|
|