yes, the line *should* read
system("perl -p -i -e 's/<[^\/]*cfquery/cfquery username=\x22#request.username#\x22 password=\x22#request.password#\x22/g' index.cfm");
it just didn't copy paste correctly.
I have a perl pie regex one liner that works:
perl -p -i -e 's/<[^\/]*cfquery/cfquery username=\x22#request.username#\x22 password=\x22#request.password#\x22/g' index.cfm
when i try to add it into a perl script i have, using the system call:
system("perl -p -i -e 's/<[^\/]*cfquery/cfquery...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.