diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-21 22:43:29 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-21 23:08:16 +0100 |
commit | 180df315c789be1138ce2643583362f4b37c8809 (patch) | |
tree | bae5995396aee76583add736f04dda8035fa3814 /util/dofile.pl | |
parent | f8d9d6e48b7ce50aee32d151e5dc7253594e01ed (diff) | |
download | openssl-180df315c789be1138ce2643583362f4b37c8809.tar.gz |
Don't use 'parent' in util/dofile.pl
Because we're requiring Perl 5.10.0 and the 'parent' didn't appear
before Perl 5.10.1, we need to resort to the older parent module
declaration style, modifying @ISA.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'util/dofile.pl')
-rw-r--r-- | util/dofile.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/dofile.pl b/util/dofile.pl index 76dfe2b607..78b8dfed9d 100644 --- a/util/dofile.pl +++ b/util/dofile.pl @@ -35,7 +35,9 @@ use File::Spec::Functions; use lib catdir(dirname(__FILE__)); use with_fallback qw(Text::Template); -use parent qw/Text::Template/; +#use parent qw/Text::Template/; +use vars qw/@ISA/; +push @ISA, qw/Text::Template/; # Override constructor sub new { |