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__} ?

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.095 second using v1.00-cache-2.02-grep-82fe00e-cpan-2ea8abbae53 )