Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Strange behaviour when regex variable is modified during match?

by rsFalse (Chaplain)
on Jan 17, 2021 at 16:51 UTC ( [id://11127038]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
            })
        $
        /x;
    
  2. or download this
    [111]
    $_:[1b112a]
    ...
    Use of uninitialized value in concatenation (.) or string at ./strange
    +_ARG_inside_regex.pl line 17.
    Use of uninitialized value within @_ in substitution iterator at ./str
    +ange_ARG_inside_regex.pl line 18.
    $_:[1hfdb112acegi]
    
  3. or download this
    #!/usr/bin/perl
    
    ...
        $
        /x;
    
  4. or download this
    [111]
    $_:[1b112a]
    ...
    $_:[1db112ac]
    [�]
    $_:[1fdb112ace]
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11127038]
Approved by davies
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found