Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Need some help with GD::Barcode::UPCE module

by igelkott (Priest)
on Oct 08, 2010 at 22:24 UTC ( [id://864288]=note: print w/replies, xml ) Need Help??


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

Replies are listed 'Best First'.
Re^2: Need some help with GD::Barcode::UPCE module
by vendion (Scribe) on Oct 10, 2010 at 02:58 UTC

    Thanks for pointing out that limitation with UPCE, as the hyphen is needed in I am trying to do I have switched to the Code 39 code, as it supports symbols and does not require a checksum. I guess I should have done some research on the different kinds of barcodes.

    As for strict and warnings, yes I am already using them I guess I should have said that, the code I posted is just a small portion of the whole script. Only pasted the code that is giving me trouble

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://864288]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-19 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found