404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.23.101.75: ~ $
package File::Spec::AmigaOS;

use strict;
require File::Spec::Unix;

our $VERSION = '3.74';
$VERSION =~ tr/_//d;

our @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;

Filemanager

Name Type Size Permission Actions
AmigaOS.pm File 982 B 0644
Cygwin.pm File 3.53 KB 0644
Epoc.pm File 1.53 KB 0644
Functions.pm File 2.29 KB 0644
Mac.pm File 21.75 KB 0644
OS2.pm File 6.61 KB 0644
Unix.pm File 15.52 KB 0644
Win32.pm File 10.95 KB 0644