Tony Esposito wrote:
I am happy that it works with double quotes BUT now, when I try to get all files in a directory with a certain extension, the following does not work ... perl -p -i.bak -e "'s/CONSTANT/VARIABLE/'" C:\***.txt does not like th leading * in the file name when I try to pull all .txt files ... Help again.
perl -p -i.bak -e "beg...@argv=map{glob}@ARGV}s/CONSTANT/VARIABLE/" C:\*.txt -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/