OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
x86_64-linux-gnu
/
perl
/
5.26.1
/
File
/
Spec
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:13:16 AM
rwxr-xr-x
📄
AmigaOS.pm
1002 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
Cygwin.pm
3.54 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
Epoc.pm
1.55 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
Functions.pm
2.33 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
Mac.pm
22.43 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
OS2.pm
6.71 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
Unix.pm
9.78 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
VMS.pm
15.95 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
Win32.pm
10.98 KB
05/23/2023 05:17:19 PM
rw-r--r--
Editing: AmigaOS.pm
Close
package File::Spec::AmigaOS; use strict; use vars qw(@ISA $VERSION); require File::Spec::Unix; $VERSION = '3.67'; $VERSION =~ tr/_//d; @ISA = qw(File::Spec::Unix); =head1 NAME File::Spec::AmigaOS - File::Spec for AmigaOS =head1 SYNOPSIS require File::Spec::AmigaOS; # Done automatically by File::Spec # if needed =head1 DESCRIPTION Methods for manipulating file specifications. =head1 METHODS =over 2 =item tmpdir Returns $ENV{TMPDIR} or if that is unset, "/t". =cut my $tmpdir; sub tmpdir { return $tmpdir if defined $tmpdir; $tmpdir = $_[0]->_tmpdir( $ENV{TMPDIR}, "/t" ); } =item file_name_is_absolute Returns true if there's a colon in the file name, or if it begins with a slash. =cut sub file_name_is_absolute { my ($self, $file) = @_; # Not 100% robust as a "/" must not preceded a ":" # but this cannot happen in a well formed path. return $file =~ m{^/|:}s; } =back All the other methods are from L<File::Spec::Unix>. =cut 1;