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

Re^2: Some odd ambiguity in this regex (updated)

by misterperl (Pilgrim)
on Jun 05, 2020 at 16:59 UTC ( [id://11117730]=note: print w/replies, xml ) Need Help??


in reply to Re: Some odd ambiguity in this regex (updated)
in thread Some odd ambiguity in this regex

I dont think I "contrived" anything. I did "R" and the first line was :
$_= '1223w3433.45+34';
then I did the "x". If the debugger works as you suggest, then it's not working right. It should interpret the expression correctly; if something isn't reset (which doesnt make sense ,since this happens on line 2) than it needs to get reset..

Larry?

But, you're correct it IS a debugger thing because the interpretation is correct outside dbg...

Replies are listed 'Best First'.
Re^3: Some odd ambiguity in this regex (updated)
by LanX (Saint) on Jun 05, 2020 at 17:17 UTC
    Please apply this single line and show us the result:

    DB<5> x $_='12a3b'; /\d\D*/g 0 1 1 '2a' 2 '3b' DB<6>

    > But, you're correct it IS a debugger thing

    Very unlikely.

    And you've already been quick to blame Perl in the past.

    Edit

    We need a possibility to reproduce your problem before searching a hypothetical bug.

    So please reproduce, and tell us the versions of perl and the debugger.

    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://11117730]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 21:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found