Subject: | Options -d and -e ignored |
Date: | Tue, 9 Feb 2016 12:10:54 +0100 |
To: | bug-Pod-Webserver [...] rt.cpan.org |
From: | Alessandro Romualdi <xc [...] romualdi.de> |
It seems that the options -d and -e are not considered. This might
depend on the fact that _init_options is called after _get_options.
Example:
a) Usage without options
$ podwebserver [ENTER]
I am process 16311 = perl Pod::Webserver v3.10
Indexing all of /etc/perl /usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . --
this might take a minute.
Done scanning
You can now open your browser to http://localhost:8020/
b) Usage with option -d
$ podwebserver -d /opt/dirname [ENTER]
I am process 16363 = perl Pod::Webserver v3.10
Indexing all of /etc/perl /usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . --
this might take a minute.
Done scanning
You can now open your browser to http://localhost:8020/
Related to: Pod-Webserver-3.10
Perl: 5.18.2
--
Alessandro Romualdi