# phpman > man > File::Spec::OS2(3pm)

## NAME
    [File::Spec::OS2](https://www.chedong.com/phpMan.php/perldoc/File%3A%3ASpec%3A%3AOS2/markdown) - methods for OS/2 file specs

## SYNOPSIS
     require [File::Spec::OS2](https://www.chedong.com/phpMan.php/perldoc/File%3A%3ASpec%3A%3AOS2/markdown); # Done internally by [File::Spec](https://www.chedong.com/phpMan.php/perldoc/File%3A%3ASpec/markdown) if needed

## DESCRIPTION
    See [File::Spec](https://www.chedong.com/phpMan.php/perldoc/File%3A%3ASpec/markdown) and [File::Spec::Unix](https://www.chedong.com/phpMan.php/perldoc/File%3A%3ASpec%3A%3AUnix/markdown). 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.

            $ENV{TMPDIR}
            $ENV{TEMP}
            $ENV{TMP}
            /tmp
            /

    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.

