Re: Can't use string ("1") as a HASH ref while "strict refs" in use at
- From: "kens" <kenslaterpa@xxxxxxxxxxx>
- Date: 27 Jan 2007 13:58:41 -0800
On Jan 27, 2:24 pm, jsmith20042...@xxxxxxxxx wrote:
Hi,
I'm very new to perl I am using some modified opensrs code that
included some payment gateway stuff. This script use to always work
and I have never modified it, however I upgraded my version of perl a
little while back and now I am receiving the following error:
Can't use string ("1") as a HASH ref while "strict refs" in use at D:
\InetPub\wwwroot\opensrs\cgi-bin\renew.cgi line 331.
Line 331 of renew.cgi is:
my $auth_code=$ccret->{auth_code};
can someone please tell me what I need to do to fix this?
Thanks so much in advance..
You are using $ccret as a hash reference. So, Evidently $ccret is set
to
"1" instead of a valid hash reference. Check to see where $ccret is
given a value.
HTH, Ken
.
- References:
- Can't use string ("1") as a HASH ref while "strict refs" in use at
- From: jsmith20042005
- Can't use string ("1") as a HASH ref while "strict refs" in use at
- Prev by Date: Can't use string ("1") as a HASH ref while "strict refs" in use at
- Next by Date: Write to an existing excel file
- Previous by thread: Can't use string ("1") as a HASH ref while "strict refs" in use at
- Next by thread: Write to an existing excel file
- Index(es):