Skip Menu |

This queue is for tickets about the GDS2 CPAN distribution.

Report information
The Basics
Id: 69775
Status: resolved
Priority: 0/
Queue: GDS2

People
Owner: Nobody in particular
Requestors: daniel.risler [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 3.33



Currently for printAref and printSref, if -angle is specified but the value is zero, the ANGLE record is not generated. I was researching a vendor incompatibility issue and wanted to force both the "STRANS" and "ANGLE" records to be present, even if the value was zero. It may also be desirable to mimic the original GDS2. What I found is when I specify -angle=>0 the STRANS record is output (even if -reflect is not specified). This behaviour is a bit inconsistent. I understand that if ANGLE record is present, then STRANS record is required. However, when -reflect is not specified but -angle is specified to be zero, printAref and printSref output the STRANS record with zero value, "but not" the ANGLE record with zero value. I would prefer that both STRANS and ANGLE are output, when -angle=>0 is specified. I understand that if -reflect is not specified but -angle is specified, that STRANS with the value of zero is required to be present. The current code does accomplish this.
angle record skipped only if not given