in reply to Not getting proper output value
do you notice something here?
qr{ abc_p | abc) }xms;
I ran the code because this looked too obvious to be true, alas ...
Unmatched ) in regex; marked by <-- HERE in m/ abc_p | abc) <-- HERE + / at d:/tmp/pm/suv0.pl line 10.
Perl even points out the correct line ...
... sigh ...
...downvoted, again.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|