Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Welcome to the Monastery
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-04-17 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls