[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#671650: ITP: libfile-spec-native-perl -- module for using native OS implementation of File::Spec from a subclass



Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libfile-spec-native-perl
  Version         : 1.003
  Upstream Author : Randy Stauner <rwstauner@cpan.org>
* URL             : http://search.cpan.org/dist/File-Spec-Native/
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : module for using native OS implementation of File::Spec from a subclass

File::Spec::Native is a stupid hack to make the default File::Spec behavior
available from a subclass. This can be useful when using another module that
expects a subclass of File::Spec but you want to use the current, native OS
format (automatically detected by File::Spec).

For example: Path::Class/as_foreign (as of version 0.24) allows you to
translate a Path::Class object from one OS format to another. However, there
is no way to specify that you want to translate the path into the current,
native OS format without guessing at what that format is (which may include
peeking into @File::Spec::ISA).

This module @ISA File::Spec.



Reply to: