[Openledger-developer] Perl Question
Brought to you by:
klavs
From: Ang T. C. <at...@ew...> - 2005-07-29 11:04:39
|
To all i have some problem with the perl code below: @items = $invoice->get_items(); foreach $iv (@items){ map {print "$_ = $iv->{$_} \n"; } keys %$iv; print "\n\n"; } when i simplified the above code to: foreach $iv (@{$invoice->get_items()}){ map {print "$_ = $iv->{$_} \n"; } keys %$iv; print "\n\n"; } the result is NULL regards Ang |