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: [notorious] perl regular expression cannot be matched?: Edit Log



FishMonger
Veteran / Moderator

Aug 8, 2011, 5:32 PM


Views: 1627
Re: [notorious] perl regular expression cannot be matched?

Since you're reading the data line-by-line, using the s option on the regex won't do anything useful. You would need to read in the data in chunks, not line-by-line.

Please don't cat the file and pipe it, pass the file as an arg.
Useless Use of cat http://partmaps.org/era/unix/award.html


(This post was edited by FishMonger on Aug 8, 2011, 5:33 PM)


Edit Log:
Post edited by FishMonger (Veteran) on Aug 8, 2011, 5:33 PM
Post edited by FishMonger (Veteran) on Aug 8, 2011, 5:33 PM


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

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