Dr.Bot has asked for the wisdom of the Perl Monks concerning the following question:

Thanks for your help - it turns out I was confused CGI_Lite is a different module from CGI::Lite (It works). However when I try a CPAN or manual install of CGI_Lite, I get:

Welcome to the installation of CGI_Lite 1.8...

WARNING: MAN3PODS takes a HASH reference not a string/number. Please inform the author. Checking if your kit is complete... Looks good
Can't use string (" ") as a HASH ref while "strict refs" in use at /usr/local/share/perl/5.10.1/ExtUtils/MM_Unix.pm line 439.

Here is the relevant code from my version of MM_Unix.pm in /usr/local/share/perl/5.10.1/ExtUtils:

# Handy lists of source code files:
XS_FILES = ".$self->wraplist(sort keys %{$self->{XS}})."
C_FILES = ".$self->wraplist(@{$self->{C}})."
O_FILES = ".$self->wraplist(@{$self->{O_FILES}})."
H_FILES = ".$self->wraplist(@{$self->{H}})."
MAN1PODS = ".$self->wraplist(sort keys %{$self->
{MAN1PODS}})."
MAN3PODS = ".$self->wraplist(sort keys %{$self->{MAN3PODS}})."
";

If " is the wrong symbol, what should be used?

Replies are listed 'Best First'.
Re: CGI_Lite MM-Unix HASH Ref issue
by Anonymous Monk on Jul 29, 2011 at 04:47 UTC

    ouch :)

    WARNING: MAN3PODS takes a HASH reference not a string/number. Please inform the author.

    Here is the relevant code from my version of MM_Unix.pm in /usr/local/share/perl/5.10.1/ExtUtils:

    If " is the wrong symbol, what should be used?

    I think, the relevant information, is the portion I bolded, inform the author of the problem :)

    Or edit Makefile.PL and remove the ExtUtils::MakeMaker#MAN3PODS argument (shouldn't have been set)

    But a module from 1997? Ha-ha.