fix undefined warnings
This commit is contained in:
parent
258d939614
commit
2a73f5ab63
1 changed files with 1 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ around extraHeadTags => sub {
|
||||||
if (@_ > 0) {
|
if (@_ > 0) {
|
||||||
my $unpacked = $_[0];
|
my $unpacked = $_[0];
|
||||||
my $packed = $unpacked; ##Undo magic aliasing since a reference is passed below
|
my $packed = $unpacked; ##Undo magic aliasing since a reference is passed below
|
||||||
|
return if !defined $packed;
|
||||||
HTML::Packer::minify( \$packed, {
|
HTML::Packer::minify( \$packed, {
|
||||||
remove_newlines => 1,
|
remove_newlines => 1,
|
||||||
do_javascript => "shrink",
|
do_javascript => "shrink",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue