Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-Packer CPAN distribution.

Report information
The Basics
Id: 59241
Status: resolved
Priority: 0/
Queue: HTML-Packer

People
Owner: Nobody in particular
Requestors: colink [...] perlDreamer.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.4
Fixed in: 0.05_02



Subject: Use of $& slows down packing
As with CSS::Packer, this patch removes $& from the regular expressions inside.
Subject: html_ampersand.patch
Only in HTML-Packer-0.4_patch: blib diff -r HTML-Packer-0.4/lib/HTML/Packer.pm HTML-Packer-0.4_patch/lib/HTML/Packer.pm 100c100 < ${$scalarref} =~ s/(<\!DOCTYPE[^>]*>)/&$_replace_unclean( $& )/xmse; --- > ${$scalarref} =~ s/(<\!DOCTYPE[^>]*>)/&$_replace_unclean( $1 )/xmse; Only in HTML-Packer-0.4_patch: Makefile Only in HTML-Packer-0.4_patch: pm_to_blib Only in HTML-Packer-0.4_patch/t/html: s1-got.html Only in HTML-Packer-0.4_patch/t/html: s2-got.html Only in HTML-Packer-0.4_patch/t/html: s3-got.html