in reply to GD && EAN-13

You're still doing $l = $z = ..., but I don't see where $l comes in. Is this simply a code-spacing device?

Update: oops. I totally ignored the ${qw.l m m l l m.} part.


Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re^2: GD && EAN-13
by teamster_jr (Curate) on Mar 29, 2006 at 08:52 UTC
    yep, these are the encodings. l is left hand odd, m is left hand even and z is right hand even. (rhe is the inverse of lho and lhe is the reverse of rhe).
    Of course i've now found EAN-128 which is varibale length and alphanumeric...
    maybe i'll get round to making one of them :)
    a