O'Reilly logo

Sams Teach Yourself Perl in 21 Days, Second Edition by Rafe Colburn, Laura Lemay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Going Deeper

In this lesson, I've given you the basics of I/O and of managing file systems; the lessons you learn here should apply to all your basic Perl programs that need to use files and command-line arguments. On Day 17 we'll explore how to handle aspects of the file system itself. In this lesson's Going Deeper, I'll try and point you to a number of other places to look for more information and details about advanced input and output and handling filesystem features.

All the built-in Perl functions, as I've noted before, are documented in the perlfunc man page. Also of some use may be the FAQ on files and formats contained in the perlfaq man page.

More About open and File Handles

A few other shortcuts and features of the open function:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required