No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi-- This is probably a no-brainer, but it is something I'm not seeing. I had posted a question on PM, and got a solution (Thanks, Monks!). It works fine on Windows, but when I try running it on a Mac, it errors out.
Bareword found where operator expected at x.pl line 942, near "s/ /'_' x length $1/egrx" syntax error at x.pl line 942, near "s/ /'_' x length $1/egrx" On the left side of the regex, I want to look for single quotes. The single quotes on the right side is for the repeat operator (right?). I've tried escaping them to no avail (though I think doing that means something else in the regex entirely). Why is this malformed only on a Mac? In reply to Bareword found error on MacOS by zuma53
|
|