in reply to Need some help with GD::Barcode::UPCE module
Besides strict and warnings, here are some suggestions:
- 000-000000 is outside UPCE's range.
- change $oGdBar->{barcode} to $oGdBar->barcode()
- change $oGdBar->{text} to $oGdBar->{$text} (as already suggested)
- maybe use GD::Barcode::UPCE->new($customer{id}) rather than parent
- maybe use $GD::Barcode::UPCE::errStr rather than parent
In Section
Seekers of Perl Wisdom