Skip Menu |

This queue is for tickets about the String-Tagged CPAN distribution.

Report information
The Basics
Id: 100392
Status: resolved
Priority: 0/
Queue: String-Tagged

People
Owner: Nobody in particular
Requestors: ANNO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.12



Subject: get_tag_at
get_tag_at($pos, $name) sometimes returns undef when there is a tag with the name at the position with a defined value. I have added a test (rather arbitrarily in t/01plain.t) that shows the effect. The loop control statements next if $pos < $ts; last if $pos >= $te; in get_tag_at are different from the corresponding ones in other get_* methods. With the attached patch they are all the same and the problem goes away. Cheers, Anno
Subject: patch
Download patch
application/octet-stream 1.3k

Message body not shown because it is not plain text.

Thanks; patch applied -- Paul Evans
Released in 0.12 -- Paul Evans