openssl/external/perl/transfer/Text/Template.pm
Richard Levitte 1cc98f75bf Change the transfer perl module so the real module gets properly registered
This is an important move if scripts want to refer to the loaded
module without having perl think it needs to be loaded (again).

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-04 19:44:03 +01:00

13 lines
327 B
Perl

#! /usr/bin/perl
# Quick transfer to the downloaded Text::Template
BEGIN {
use File::Spec::Functions;
use File::Basename;
use lib catdir(dirname(__FILE__), "..", "..",
"Text-Template-1.46", "lib");
use Text::Template;
shift @INC; # Takes away the effect of use lib
}
1;