Hi There,

I have some problems undestanding how to parse a hash to module of my own.

I have this hash %person :
$person{$Name}{Name} = "xxx";
$person{$Name}{Id} = zzzz;
@( $person{$Name} {Friends} )

But what's the correct method for parsing this hash to my module ???

I try something like mymodule::method(%person)

or should I parse it as a reference ?
mymodule::method(\$person)

Any input is appreciated.

best regards
 Tommy 



-- 
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