D
Dave
Hi,
I'm using Perl 5.8.9 on Mac 10.6.3. I have a file and I want to have
a new file where the uri_escape function is applied to each line of
the file. However, this call
perl -pi -e 'use URI::Escape; print uri_escape($_)' link_names.txt
only partially works. The result is a line that contains the escaped
string, and then the original string. How do I modify the code above
to print out only the escaped string?
Thanks, - Dave
I'm using Perl 5.8.9 on Mac 10.6.3. I have a file and I want to have
a new file where the uri_escape function is applied to each line of
the file. However, this call
perl -pi -e 'use URI::Escape; print uri_escape($_)' link_names.txt
only partially works. The result is a line that contains the escaped
string, and then the original string. How do I modify the code above
to print out only the escaped string?
Thanks, - Dave