in reply to Returning the value generated in package/module problem
You've got use Price_calc twice. Probably don't want the first one.
You're not capturing the return value of Price_calc::get_ama($amastringsent);.
The last line of your package Price_calc; should be 1; (actually, it can be any true value but most people just use a one).
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Returning the value generated in package/module problem
by Monkomatic (Sexton) on Oct 12, 2010 at 11:58 UTC |