|Keep It Simple, Stupid|
File::Specby tye (Sage)
|on Sep 13, 2000 at 23:35 UTC||Need Help??|
Item Description: Portable ways to manipulate file specifications
Review Synopsis: Please try to use this module even when you don't need it
File::Spec is the long-awaited standard method for doing common tasks with file names and paths (file specifications or file specs) in a way that is portable between different operating systems.
What it can do:
The documentation isn't OS-independant so you have to read the documentation for each OS-specific component of File::Spec. Start with perldoc File::Spec then perldoc File::Spec::Unix (since that part of the module is the most complete).
Not all method are available on all platforms.
This module isn't available for even slightly old versions of Perl. Until and unless that changes, you may want to back-port the functionality to older versions of Perl yourself so that your code will still port to different OSes.
Getting File::Spec functionality for old versions of Perl in a portable, robust manner. I hope to add more details on this later.- tye (but my friends call me "Tye")