~ubuntu-branches/ubuntu/saucy/libfile-spec-perl/saucy

« back to all changes in this revision

Viewing changes to lib/File/Spec/OS2.pm

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-01-14 12:42:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080114124245-0t9wefk1cx22b72b
Tags: 3.2501-3
* Drop (>= 0.19) from libmodule-build-perl Build-Dependency oldstable has
  0.26 and versioned B-D breaks building with perl-modules 5.10 (which
  includes Module::Build)
* add ppport.h licensing/copyright to debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
use vars qw(@ISA $VERSION);
5
5
require File::Spec::Unix;
6
6
 
7
 
$VERSION = '1.2';
 
7
$VERSION = '3.2501';
8
8
 
9
9
@ISA = qw(File::Spec::Unix);
10
10
 
37
37
my $tmpdir;
38
38
sub tmpdir {
39
39
    return $tmpdir if defined $tmpdir;
40
 
    $tmpdir = $_[0]->_tmpdir( @ENV{qw(TMPDIR TEMP TMP)},
41
 
                              '/tmp',
42
 
                              '/'  );
 
40
    my @d = @ENV{qw(TMPDIR TEMP TMP)};  # function call could autovivivy
 
41
    $tmpdir = $_[0]->_tmpdir( @d, '/tmp', '/'  );
43
42
}
44
43
 
45
44
sub catdir {