Perl 5 version 26.3 documentation

File::Spec::OS2

NAME

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

SYNOPSIS

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

DESCRIPTION

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

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.