/usr/local/lib64/perl5.legacy/File/Spec
NameSizeModeActions
AmigaOS.pm9700444editdlrm
Cygwin.pm35620444editdlrm
Epoc.pm15910444editdlrm
Functions.pm23890444editdlrm
Mac.pm229590444editdlrm
OS2.pm68690444editdlrm
Unix.pm166020444editdlrm
VMS.pm163150444editdlrm
Win32.pm111830444editdlrm
Edit: /usr/local/lib64/perl5.legacy/File/Spec/AmigaOS.pm (970B)
package File::Spec::AmigaOS; use strict; use vars qw(@ISA $VERSION); require File::Spec::Unix; $VERSION = '3.62'; $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. =cut 1;