------------------------------------------------
On Thu, 23 Jan 2003 12:54:25 -0500, Ed Sickafus <[EMAIL PROTECTED]> wrote:
Not sure if this is it, but try lowercasing 'if'. I believe Perl is case sensitive in
this respect.
> If ($tmp{$keyinner} == "LN")
<snip>
>
> "BUGS/ Adding or altering substructures to a hash value is not
> entirely transparent in current perl.
> $mldb{key}{subkey}[3] = 'stuff'; # won't work
>
> Instead, that must be written as:
>
> $tmp = $mldb{key}; # retrieve value
> $tmp->{subkey}[3] = 'stuff';
> $mldb{key} = $tmp; # store value"
>
You should be able to do:
${{$mldb{key}}->{subkey}}[3] = 'stuff';
or
${$mldb{key}}->{subkey}->[3] = 'stuff';
I can't quite get your structure in my head correctly, but there should be a way to
access the location directly like the above.
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]