Hello
I am sorry for this mistake, Let me correct my question
I need to understand ,
@{form->{"${module}_links"}{$key}}
my question :
if the $key = "IC" then {$key} will have a reference of location
if the $key = "IC_tax" then {$key} will have a another reference of
location
if the $key = "IC" again then {$key} will have another reference of
the location .
but when use
@{form->{"${module}_links"}{$key}} , {accno => $ref->{accno},
description => $ref-&g
t;{description}}
if the $key = 'IC' then
it will have the same Array ref instead of the
{$key} are different ref.
How he succeed to fix the array ref for the same link...
example when link="IC" :
{$key} = hash (0x9472a28)
and in next row {$key} = hash (0x9472cc8)
but when you apply
@{form->{"${module}_links"}{$key}}
you will find
form->{"${module}_links"}{$key} is Array (0x9472b60) in the two case.
How ?, I couldn't understand this point.
you can see the code in ic.pm at sub create_link
the code will be
@{form->{"${module}_links"}{$key}} , {accno => $ref->{accno},
description => $ref-&g
t;{description}}
or this key belong to cache so no duplicated variable.
Please, be patient with me
Thanks for your cooperation
Shaekir Khzym
From: [EMAIL PROTECTED]
To: [email protected]
Date: Thu, 20 Mar 2008 20:28:24 +0200
Subject: [Ledger-smb-devel] question
Hello
I need to understand ,
@{form->{"${module}_links"}{$key}}
my question :
if the $key = "IC" then {$key} will have a reference of location
if the $key = "IC_tax" then {$key} will have a another reference of
location
if the $key = "IC" again then {$key} will have the same reference of
the location of first statment.
Why...
you can see the code in ic.pm at sub create_link
the code will be
@{form->{"${module}_links"}{$key}} , {accno => $ref->{accno},
description => $ref-&g
t;{description}}
or this key belong to cache so no duplicated variable.
Please, be patient with me
Thanks for your cooperation
Shaekir Khzym
Express yourself instantly with MSN Messenger! MSN Messenger
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel