Skip to content
This repository was archived by the owner on Nov 13, 2018. It is now read-only.

Commit 2fa58e0

Browse files
author
Dewayne Richardson
committed
Merge pull request #1111 from dangogh/fix/nostrict-1.4
no strict refs when invoking extension sub
2 parents b9887b3 + e8e0e38 commit 2fa58e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

traffic_ops/app/lib/UI/ConfigFiles.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,7 @@ sub to_ext_dot_config {
13041304
eval "use $package;";
13051305

13061306
# And call it - the below calls the subroutine in the var $subroutine.
1307+
no strict 'refs';
13071308
$text .= $subroutine->( $self, $id, $file );
13081309

13091310
# $text .= &{ \&{$subroutine} }( $self, $id, $file );

0 commit comments

Comments
 (0)