Skip to content

Commit

Permalink
No strict refs when assigning to a glob
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@551 958fd67b-6ff1-0310-b445-bb7760255be9
  • Loading branch information
Matt Sergeant committed Oct 7, 2005
1 parent b808a13 commit 111afb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/tls
Expand Up @@ -44,6 +44,7 @@ sub init {

# Check for possible AUTH mechanisms
HOOK: foreach my $hook ( keys %{$qp->{hooks}} ) {
no strict 'refs';
if ( $hook =~ m/^auth-?(.+)?$/ ) {
if ( defined $1 ) {
my $hooksub = "hook_$hook";
Expand Down

0 comments on commit 111afb9

Please sign in to comment.