Kenichi Ishigaki > Path-Extended-0.21 > Path::Extended::Class::Dir

Download:
Path-Extended-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Stalled  1
View/Report Bugs
Source  

NAME ^

Path::Extended::Class::Dir

DESCRIPTION ^

Path::Extended::Class::Dir behaves pretty much like Path::Class::Dir and can do some extra things. See appropriate pods for details.

COMPATIBLE METHODS ^

absolute, relative

change how to stringify internally and return the file object (instead of the path itself).

mkdir, mkpath

create a directory with File::Path, and return the result (instead of the directory object itself).

rmtree, rmdir, remove

remove a directory with File::Path, and return the result (instead of the directory object itself).

dir_list

returns parts of the path. See Path::Class::Dir for details.

tempfile

returns a temporary file handle (and its corresponding file name in a list context). See Path::Class::Dir and File::Temp for details

INCOMPATIBLE METHODS ^

cleanup

does nothing but returns the object to chain. Path::Extended::Class should always return a canonical path.

as_foreign

does nothing but returns the object to chain. Path::Extended::Class doesn't support foreign path expressions.

new_foreign

returns a new Path::Extended::Class::Dir object whatever the type is specified.

SEE ALSO ^

Path::Extended::Class, Path::Extended::Dir, Path::Class::Dir

AUTHOR ^

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2009 by Kenichi Ishigaki.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: