1. Home
  2. Computing & Technology
  3. Perl
Perl Blog

From Kirk Brown, Former Perl Guide

How to tell if something is a file or a directory in Perl

Tuesday August 19, 2008
Lets say you're building a perl script to traverse a file system and record what it finds. As you open file handles, you need to know if you're dealing with an actual file or with a directory since you'll treat them differently...

How to tell if something is a file or a directory in Perl
Comments

No comments yet.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Perl
About.com Special Features

You don't have to break the bank on a new computer. Find out how to save on your next PC. More

This simple questionnaire will show you which Web design software tool is right for you. More

  1. Home
  2. Computing & Technology
  3. Perl

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

All rights reserved.