Using Path::Class

By Ken Williams from Minneapolis.pm
Date: Saturday February 16, 2008 14:15
Duration: 20 minutes
Target audience: Beginner
Tags: directories files


File::Spec is the traditional solution for coders who need to deal with paths in a cross-platform way, but it's actually quite difficult to use safely. This talk will introduce Path::Class, an alternative to File::Spec that aims to make it so convenient to do things correctly that everything just works the way you mean it to. We'll point out some of File::Spec's pitfalls and show how to achieve common tasks in Path::Class.

Copyright © 2008 Minneapolis Perl Mongers
The Perl logo is a trademark of the Perl Foundation.