Subject: | Bug in AppConfig docs |
Date: | Tue, 17 Jan 2012 22:41:52 +0000 |
To: | bug-AppConfig [...] rt.cpan.org |
From: | Chris Dennis <cgdennis [...] btinternet.com> |
Dear AppConfig maintainer
There's a mistake in the documentation at
http://search.cpan.org/~abw/AppConfig-1.66/lib/AppConfig.pm which had me
confused for a while.
Where is says in the Compact Format Definition section
$config->define("file|filelist|f=s@", { VALIDATE = \&check_file() } );
if believe it should be
$config->define("file|filelist|f=s@", { VALIDATE = \&check_file } );
without the () after &check_file.
regards
Chris
--
Chris Dennis cgdennis@btinternet.com
Fordingbridge, Hampshire, UK