diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-02-19 13:36:15 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-02-19 13:36:15 +0000 |
commit | 3048651c241b3b007a6c1ad017a45c2e206fb9ae (patch) | |
tree | f81a5c3b756dabd2d88c3692dc5703a2d15da4b3 /www/p5-HTML-Template/files/patch-Template.pm | |
parent | Update to 0.94. (diff) |
Upgrade to 2.5.
Pointed out by: nork@cityfujisawa.ne.jp (Norikatsu Shigemura)
Notes
Notes:
svn path=/head/; revision=54909
Diffstat (limited to 'www/p5-HTML-Template/files/patch-Template.pm')
-rw-r--r-- | www/p5-HTML-Template/files/patch-Template.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/p5-HTML-Template/files/patch-Template.pm b/www/p5-HTML-Template/files/patch-Template.pm new file mode 100644 index 000000000000..684a48b3e52b --- /dev/null +++ b/www/p5-HTML-Template/files/patch-Template.pm @@ -0,0 +1,12 @@ +--- Template.pm.orig Tue Feb 19 22:15:56 2002 ++++ Template.pm Tue Feb 19 22:18:31 2002 +@@ -863,7 +863,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); + + # define accessor constants used to improve readability of array + # accesses into "objects". I used to use 'use constant' but that |