in reply to Re^2: WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
in thread WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
i have tested. that data has been passed into $incomedat sucessfully.
So what exactly does it contain? You still haven't shown the output of
use Data::Dumper; print Dumper $incomingdata;
If it's something like
$VAR1 = [ { 'quantity' => 1, 'name' => 'abc1' }, { 'quantity' => 2, 'name' => 'abc2' } ];
you probably want line 5 to read
my @partofcookie= @$incomingdata;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
by Anonymous Monk on Aug 06, 2009 at 10:21 UTC | |
by ig (Vicar) on Aug 06, 2009 at 11:53 UTC | |
by Anonymous Monk on Aug 06, 2009 at 10:36 UTC | |
by Anonymous Monk on Aug 06, 2009 at 10:49 UTC | |
by Anonymous Monk on Aug 06, 2009 at 10:51 UTC | |
|
Re^4: WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
by Anonymous Monk on Aug 06, 2009 at 11:15 UTC |