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