[ Bron: libio-file-withfilename-perl ]
Pakket: libio-file-withfilename-perl (0.01-2)
Verwijzigingen voor libio-file-withfilename-perl
Debian bronnen:
Het bronpakket libio-file-withfilename-perl downloaden:
- [libio-file-withfilename-perl_0.01-2.dsc]
- [libio-file-withfilename-perl_0.01.orig.tar.gz]
- [libio-file-withfilename-perl_0.01-2.debian.tar.xz]
Beheerders:
Externe bronnen:
- Homepage [metacpan.org]
Vergelijkbare pakketten:
filehandles that know their origin
IO::File::WithFilename does everything that IO::File does, but implements filename method, that File::Temp objects have. It lets you write the code that is ignorant of what classes of objects it works with.
If you want to check if it is safe to call filename method, you are recommended to call can method rather than to check an object"s inheritance:
print $obj->filename, "\n" if eval { $obj->can("filename") };
Andere aan libio-file-withfilename-perl gerelateerde pakketten
|
|
|
|
-
- dep: perl
- Larry Wall"s Practical Extraction and Report Language