Skip Menu |

This queue is for tickets about the PostScript-MailLabels CPAN distribution.

Report information
The Basics
Id: 79946
Status: resolved
Worked: 5 min
Priority: 0/
Queue: PostScript-MailLabels

People
Owner: alanj [...] ajackson.org
Requestors: l33h4r7 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 2.30
  • 1.0
  • 1.01
  • 2.00
  • 2.02
  • 2.03
  • 2.10
  • 2.21
  • 2.22
  • 2.23
  • 2.24
  • 2.25
  • 2.26
  • 2.27
Fixed in: (no value)



Subject: default english units are always used (metric option is ignored)
On line 320, in the labelsetup subroutine, the condition that sets the value of the $f variable is dependent on the value associated with the units key in the existing setup, rather than the value of the units key in the args. Consequently, supplying a value of "metric" in the %args makes no difference to the setting of the $f conversion factor (converting inches or centimetres to a points value), which is always set to 72. Instead of: if ($self->{SETUP}{units} eq 'metric') {$f = 28.3465;} ...perhaps something like: if ($args{units} eq 'metric') {$f = 28.3465;}
fixed & updated. Thanks!