CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [matteoguglielmi] Problem With A One-Liner Perl Script: Edit Log



Laurent_R
Enthusiast / Moderator

Mar 26, 2013, 12:42 PM


Views: 709
Re: [matteoguglielmi] Problem With A One-Liner Perl Script

I do not have time to read in detail your long post right now, but it seems to me that you should have a look at Perl's quotemeta function, which is probably doing what you're looking for.

http://perldoc.perl.org/functions/quotemeta.html

Also look at the '\Q ... \E' regex options.


(This post was edited by Laurent_R on Mar 26, 2013, 12:45 PM)


Edit Log:
Post edited by Laurent_R (Enthusiast) on Mar 26, 2013, 12:44 PM
Post edited by Laurent_R (Enthusiast) on Mar 26, 2013, 12:45 PM: Added URL tags


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives