Programming Languages C# Subjective
Mar 14, 2013

How do I replace every <TAB> character in a file with a comma?

Detailed Explanation

perl -pi.bak -e 's/\t/,/g' myfile.txt

What is the easiest way to download the contents of a URL with Perl?

Once you have the libwww-perl library, LWP.pm installed, the code is this:
#!/usr/bin/perl
use LWP::Simple;
$url = get 'http://www.websitename.com/';

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback