all options
bookworm  ] [  trixie  ] [  sid  ]
[ Source: libio-file-withfilename-perl  ]

Package: libio-file-withfilename-perl (0.01-2)

Links for libio-file-withfilename-perl

Screenshot

Debian Resources:

Download Source Package libio-file-withfilename-perl:

Maintainers:

External Resources:

Similar packages:

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') };

Other Packages Related to libio-file-withfilename-perl

  • depends
  • recommends
  • suggests
  • enhances

Download libio-file-withfilename-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 4.9 kB19.0 kB [list of files]