Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Not getting proper output value

by LanX (Saint)
on Apr 05, 2021 at 17:13 UTC ( [id://11130853]=note: print w/replies, xml ) Need Help??


in reply to Not getting proper output value

Which output/errors do you get and what do you miss?

edit

do you notice something here?

qr{  abc_p | abc) }xms;

update

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11130853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found