---
name: "File::Spec::OS2"
section: "3pm"
platform: "linux"
package: "libfile-spec-perl"
version: "3.3300-1+b2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/File::Spec::OS2/3pm"
---

# File::Spec::OS2(3pm)

methods for OS/2 file specs

## NAME

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

## SYNOPSIS

```
 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.

  ```
      $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.
