Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Assigning REGEX Match to a separate variable?

by mmartin (Monk)
on Apr 02, 2012 at 16:54 UTC ( #963062=note: print w/replies, xml ) Need Help??


in reply to Re: Assigning REGEX Match to a separate variable?
in thread Assigning REGEX Match to a separate variable?

Hey choroba,

Thanks for your quick reply!!
"perlop" that's the perldoc I was looking for... Searched every where for that. Thanks.

Ok, cool so using the parenthesis allows you to pull out the actual matched string (i.e. $1) instead of getting just a true or false...
Good deal... It worked! Thanks!

Thanks Again,
Matt
  • Comment on Re^2: Assigning REGEX Match to a separate variable?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://963062]
help
Chatterbox?
[Corion]: My household somewhat becomes a Dell stronghold since I threw out HP for not wanting to scan documents because of an empty ink cartridge ;)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-03-27 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.