Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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 wandering the Monastery: (4)
As of 2016-02-12 02:21 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (386 votes), past polls