Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^9: Getting an unknown error (foreach $1 breaks m//atch)

by choroba (Cardinal)
on Apr 24, 2015 at 15:39 UTC ( [id://1124554]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Getting an unknown error (foreach $1 breaks m//atch)
in thread Getting an unknown error

Using normal variables instead of numbered ones works, too:
for $1 (666) { if (my ($match) = 333 =~ /(...)/) { print "$match\t$1\n"; } }
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found