Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the IO-All CPAN distribution.

Report information
The Basics
Id: 91746
Status: resolved
Priority: 0/
Queue: IO-All

People
Owner: Nobody in particular
Requestors: abe [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Typo in POD: 2x io->file instead of io->file and io->dir
Date: Mon, 30 Dec 2013 23:39:36 +0100
To: bug-IO-All [...] rt.cpan.org
From: Axel Beckert <abe [...] debian.org>
Hi, there's a typo in the POD of IO::All, version 0.50: · file io->file("path/to/my/file.txt"); Using the "file" method sets the type of the object to file and sets the pathname of the file if provided. […] · dir io->file($dir_name); ^^^^ Make the object be of type directory. In the entry for the "dir" method, the example very likely should use "dir" and not "file". Regards, Axel -- ,''`. | Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
On Mon Dec 30 17:39:47 2013, abe@debian.org wrote: Show quoted text
> Hi, > > there's a typo in the POD of IO::All, version 0.50: > > · file > > io->file("path/to/my/file.txt"); > > Using the "file" method sets the type of the object to file > and sets the pathname of the file if provided. > > […] > > · dir > > io->file($dir_name); > ^^^^ > Make the object be of type directory. > > In the entry for the "dir" method, the example very likely should use > "dir" and not "file". > > Regards, Axel
Fixed in git, thanks