Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Matching against $_ behaves differently than matching against a named scalar?

by BillKSmith (Monsignor)
on Apr 20, 2020 at 17:15 UTC ( [id://11115838]=note: print w/replies, xml ) Need Help??


in reply to Matching against $_ behaves differently than matching against a named scalar?

I have duplicated your result. (Strawberry perl 5.24.1 on window 7) Very strange indeed! I am not clear which we should 'expect'. Is this an example of the 'nested block' referred to in the documentation of $<digits> in perlvar?
Bill
  • Comment on Re: Matching against $_ behaves differently than matching against a named scalar?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found