# phpman > info > File::Spec::OS2

[File::Spec](https://www.chedong.com/phpMan.php/perldoc/File%3A%3ASpec/markdown)::[OS2(3perl)](https://www.chedong.com/phpMan.php/man/OS2/3perl/markdown) Perl Programmers Reference Guide [File::Spec](https://www.chedong.com/phpMan.php/perldoc/File%3A%3ASpec/markdown)::[OS2(3perl)](https://www.chedong.com/phpMan.php/man/OS2/3perl/markdown)

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.

perl v5.34.0                      2025-07-25            [File::Spec](https://www.chedong.com/phpMan.php/perldoc/File%3A%3ASpec/markdown)::[OS2(3perl)](https://www.chedong.com/phpMan.php/man/OS2/3perl/markdown)
