in reply to Re^3: WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
in thread WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?

Dear sir
in regards to use Data::Dumper; print Dumper $incomingdata; I really do not know how to put it in as the core code of the main pro +gramme is too difficult for me..... but i have test it in this way sub { # # splits them up into stuff like "{name => 'name222',colour => 'yellow +'}" #my @split = (split /\Q},{/, $_[0]); #my $value = $split[0]; my $value = $_[0]; return($value); } then i use a template tag to print its data out it looks exactly the same as it shored in db [{'quantity' => 1,'name' => 'abc1' }, {'quantity' => 2, 'name' => 'abc2'}]