[EMAIL PROTECTED] wrote:
This is the bit of code I'm attempting to use,
"$workPackages{ $tempHash{ WORK_PACKAGE } }
{ $tempHash{ USE_ON_CODE } } = $tempHash{ TECHNICAL_DIRECTIVE };"  I
get the following error, "Can't use string ("1") as a HASH ref while
"strict refs" "

For me, that piece of code results in a syntax error.

It's also unclear to me what it is you are trying to achieve.

Is this because the value stored needs to be the reference to the new
hash?

Well, maybe, a hash value cannot be a hash, but it can be a hash reference.

If so, how do I do this?

Again, what's "this"? I don't see from the code you posted any attempt to assign a hash to another hash.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to