package File::Spec::AmigaOS;

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

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

our @ISA = qw(File::Spec::Unix);

=head1 NAME

File::Spec::AmigaOS - File::Spec for AmigaOS


 require File::Spec::AmigaOS; # Done automatically by File::Spec
                              # if needed


Methods for manipulating file specifications.

=head1 METHODS

=over 2

=item tmpdir

Returns $ENV{TMPDIR} or if that is unset, "/t".


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.


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;


All the other methods are from L<File::Spec::Unix>.