"JupiterHost.Net" <[EMAIL PROTECTED]> skrev i en meddelelse 
news:[EMAIL PROTECTED]
>
>>>You can do either but a refernce is more efficient:
>>
>> Maybe I should use a reference as you suggest now Iam using ...
>>
>> MyModule::function(%person)
>>
>> and in my function :
>> my %person = @_;
>>
>> For now I don't think I have an performance issue, - but ofcourse for now 
>> I have 2 copies.
>
> 2 copies is twtice the memory :) plus its more maintainable and 
> expandable.
>
>> Any drawbacks if I try some kind of asyncrhonous call if possbile ??.
>
> Can you give us some code of what you mean by "asyncronouse call"?

It's a db interface, - but I don't thinks it's relevant but maybe just exit 
my module after having
delivered the data to the dbi ?? 



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


Reply via email to