Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: Swap foo and bar in text?

by GrandFather (Sage)
on Apr 20, 2012 at 08:33 UTC ( #966131=note: print w/replies, xml ) Need Help??

in reply to Re^2: Swap foo and bar in text?
in thread Swap foo and bar in text?

the real substrings could be anything

Indeed, which is why I removed the quote meta code from the example code before posting it - anything could include regular expressions which don't work so well when quoted.

True laziness is hard work

Replies are listed 'Best First'.
Re^4: Swap foo and bar in text?
by Jim (Curate) on Apr 20, 2012 at 15:51 UTC

    I don't understand what you're saying. Why did you remove quotemeta? Isn't it necessary as a precaution?

    Never mind. I figured out what you're saying.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966131]
[Discipulus]: beer finished in Strasbourg? ;=)
[Corion]: Discipulus: Yeah, or it got too warm and they hope for colder beer here ;)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2018-07-23 08:22 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (459 votes). Check out past polls.