ports/www/p5-HTML-Template/files/patch-Template.pm
Jun Kuriyama 3591c5e650 Upgrade to 2.7.
Submitted by:	Alex Kapranoff <kappa@rambler-co.ru>
2004-06-25 13:47:03 +00:00

12 lines
446 B
Perl

--- Template.pm.orig Fri Jun 18 21:42:06 2004
+++ Template.pm Fri Jun 25 13:33:50 2004
@@ -890,7 +890,9 @@
use strict; # and no funny business, either.
use Carp; # generate better errors with more context
+BEGIN { unshift(@INC, "%%PERL_INC%%"); }
use File::Spec; # generate paths that work on all platforms
+shift(@INC);
use Digest::MD5 qw(md5_hex); # generate cache keys
# define accessor constants used to improve readability of array