Weblog entry #2 for carter

hash as a reference is deprecated
Posted by carter on Wed 10 Jan 2007 at 16:14
Tags: none.
I am a beginner at Perl and I am trying to get rid of "Using a hash as a reference is deprecated at" warning from the following code:

foreach $tab_ttc (@{%{$tab_h}->{$tab}->{TTC}})

Can anyone help?

 

Comments on this Entry

Posted by Anonymous (213.164.xx.xx) on Wed 10 Jan 2007 at 16:20
I can't post the answer because a bayesian filter warning comes up.

Switch the hash to a dollar.

[ Parent | Reply to this comment ]

Posted by carter (131.87.xx.xx) on Fri 12 Jan 2007 at 15:16
[ Send Message | View Weblogs ]
I replay hash to a dollar sign and got the following "Not a SCALAR reference at"

[ Parent | Reply to this comment ]

Posted by figjam (222.154.xx.xx) on Tue 16 Jan 2007 at 22:01
[ Send Message | View figjam's Scratchpad | View Weblogs ]
Can you post some more of the code or a reference to where you got that piece of evil, so we can get some idea of what the contents actually are?

Cheers,

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search