Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

RE: Re: multi-line regex again

by reptile (Monk)
on Aug 28, 2000 at 18:50 UTC ( #29985=note: print w/ replies, xml ) Need Help??

in reply to Re: multi-line regex again
in thread multi-line regex again

No, actually, he's got that part right. The match is against $_, so no =~ needed. He's assigning the groups in the regex to those variables (not trying to match what's in them). I'm pretty sure that was the goal.

local $_ = "0A72656B636148206C72655020726568746F6E41207473754A"; while(s/..$//) { print chr(hex($&)) }

Comment on RE: Re: multi-line regex again
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-11-27 11:40 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (726 votes), past polls