1. Home
  2. Computing & Technology
  3. Perl

How to parse simple text files with Perl

Say your boss hands you a file with a list of names, emails and phone numbers and wants you to read the file and do something with the information like put it into a database or just print it out in a nicely formatted report... what can you do?

Manipulating Files

Kirk's Perl Blog

Acme::LOLCAT

Tuesday July 15, 2008
Need to translate some text from english to LOLCAT speek? Well, all you need is this handy-dandy Perl module - available right now on CPAN - and you can have your entire application converted! Silly, but you never know when you might need a little LOLCAT in your life.

Acme::LOLCAT

How to get the size of a file in Perl

Saturday July 12, 2008
Perl has a set of useful File Test Operators that can be used to quickly get information about the file system like the existence of a file, or the size. Lets take a quick look at how to get the file size in bytes using File Test Operators.

How to get the size of a file in Perl

Explore Perl

More from About.com

  1. Home
  2. Computing & Technology
  3. Perl

©2008 About.com, a part of The New York Times Company.

All rights reserved.