From: "Anthony Gardner" <[EMAIL PROTECTED]>
Can s.o. explain what is wrong with the following code
....

$r->pnotes('KEY' => push( @{ $ar }, $some_val ) );


It's a perl problem - not a mod_perl problem. push returns the new number of elements on the array. So in effect you're doing:

$r->pnotes('KEY' => number_of_elements_in_array );


Your other snippit looks OK to me.

Carl

Reply via email to