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