Perl 5 version 32.0 documentation



File::Spec::OS2 - methods for OS/2 file specs


  1. require File::Spec::OS2; # Done internally by File::Spec if needed


See File::Spec and File::Spec::Unix. This package overrides the implementation of these methods, not the semantics.

Amongst the changes made for OS/2 are...

  • tmpdir

    Modifies the list of places temp directory information is looked for.

    1. $ENV{TMPDIR}
    2. $ENV{TEMP}
    3. $ENV{TMP}
    4. /tmp
    5. /
  • splitpath

    Volumes can be drive letters or UNC sharenames (\\server\share).


Copyright (c) 2004 by the Perl 5 Porters. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.