From 3adf206fe40c3808782dc3fcd5e0b5d26f13e4dc Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Thu, 9 Mar 2017 14:25:35 +0200 Subject: [PATCH] Bug 18237 - Can't use a hash as a reference at docs/CAS/CASProxy/examples/proxy_cas_data.pl line 60. Fixes t/db_dependent/00-strict.t --- docs/CAS/CASProxy/examples/proxy_cas_data.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CAS/CASProxy/examples/proxy_cas_data.pl b/docs/CAS/CASProxy/examples/proxy_cas_data.pl index ba4a138..5a54976 100755 --- a/docs/CAS/CASProxy/examples/proxy_cas_data.pl +++ b/docs/CAS/CASProxy/examples/proxy_cas_data.pl @@ -57,7 +57,7 @@ if ($cgi->param('PGTIOU')) { # The callback page stored it in the application vars (in our case a storable object in a file) open FILE, "casSession.tmp" or die "Unable to open file"; my $hashref = fd_retrieve(\*FILE); - my $pgtId = %$hashref->{$cgi->param('PGTIOU')}; + my $pgtId = %{$hashref->{$cgi->param('PGTIOU')}}; close FILE; # Now that we have a PgtId, we can ask the cas server for a proxy ticket... -- 2.7.4