hi! i have a strange problem that i cant figure out... hope some one
here have an idear . ok


$inref->{dbh}->prepare(qq| SELECT * from affiliate_account|);
# this works whit no problems

#but i pass it this way
$lib->create_order_redistribution_matrix($inref);
# and in create_order_redistribution_matrix, i get the error:
# Can't call method "prepare" on an undefined value at
/var/www/htdocs/cgi-bin//OxcartAPIs/Lib.pm line 731.

# now whats realy strange is that when i call this function from an
other module it works very fine!?

#some one know what could be rong?? the only diference i figure out
betwen the 2 modules is that the one that wors is in the same directory
that Lib.pm but i realy dont thing i could change anything!

tanks for your sugestions




Reply via email to