class IO::Spec
Platform specific operations on file and directory paths
1 | Methods |
2 | Type Graph |
Objects of this class are not used directly but as a sub-class specific to the platform perl is running on via the $*SPEC
variable which will contain an object of the appropriate type.
The sub-classes are documented separately, with the platform-specific differences documented in IO::Spec::Cygwin, IO::Spec::QNX, IO::Spec::Unix and IO::Spec::Win32.
NOTE: the IO::Spec::*
classes provide low-level path operations. Unless you're creating your own high-level path manipulation routines, you don't need to use IO::Spec::*
. Use IO::Path
instead.
NOTE2: no special validation is done by these classes (e.g. check whether path contains a null character). It is the job of higher-level classes, like IO::Path
, to do that.