in reply to Re: modifying a file with regex!
in thread modifying a file with regex!
I don't have three whole years of Perl experience, but I think this is broken. What are you expecting it to do? $regex will contain a line (at least a newline) from the first file given on the command line. What's Perl supposed to do with that when you give it as an expression by itself?
Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: modifying a file with regex!
by linuxkid (Sexton) on Mar 17, 2012 at 21:31 UTC | |
by choroba (Cardinal) on Mar 18, 2012 at 00:18 UTC | |
by aaron_baugher (Curate) on Mar 18, 2012 at 01:03 UTC | |
|