nysus has asked for the wisdom of the Perl Monks concerning the following question:
However, when I use this code from within subroutine in a package in my mod_perl application, I get the following error:my $pdf = new PDF::Labels( $PDF::Labels::PageFormats[0], filename=>'files/labels.pdf', );
Not sure how to go about fixing this. I'm new to mod_perl.Can't use an undefined value as a symbol reference at /usr/local/share +/perl/5.20.2/PDF/Create.pm line 63.\n, referer: http://mydomain.com/i +ndex.pl
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
$nysus = $PM . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't use an undefined value as a symbol reference with mod_perl
by kennethk (Abbot) on Sep 24, 2015 at 15:38 UTC | |
by nysus (Parson) on Sep 24, 2015 at 15:53 UTC | |
by kennethk (Abbot) on Sep 24, 2015 at 16:10 UTC |