File-PlainPath

 view release on metacpan or  search on metacpan

lib/File/PlainPath.pm  view on Meta::CPAN

        my $arg = shift;
        if ($arg =~ m{^ [-] (.+) $}x)
        {
            $opts{$1} = shift;
            next;
        }
        push @export, $arg;
    }
    
    if (exists $opts{'separator'}) {
        $^H{+__PACKAGE__} = $opts{'separator'};
    }
    
    @_ = ($class, @export);
    goto \&Exporter::import;
}


sub path {    
    my @caller       = caller(0);
    my $separator    = exists $caller[10]{+__PACKAGE__} ?



( run in 1.131 second using v1.01-cache-2.11-cpan-49f99fa48dc )