Skip Menu |

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 47548
Status: resolved
Priority: 0/
Queue: Devel-Declare

Owner: Nobody in particular
Requestors: zefram [...]

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

Received: from ( []) by (Postfix) with SMTP id 74ADB19B81DB for <bug-Devel-Declare [...]>; Fri, 3 Jul 2009 12:09:11 -0400 (EDT)
Received: (qmail 20748 invoked by uid 103); 3 Jul 2009 16:09:10 -0000
Received: from ( by with QMQP; 3 Jul 2009 16:09:10 -0000
Received: from (HELO ( by (qpsmtpd/0.80) with ESMTP; Fri, 03 Jul 2009 09:09:04 -0700
Received: from zefram by with local (Exim 4.69 #1 (Debian)) id 1MMlJr-0008UM-68; Fri, 03 Jul 2009 17:08:59 +0100
Delivered-To: cpan-bug+Devel-Declare [...]
MIME-Version: 1.0
Subject: unexpected change of get_linestr_offset()
X-Spam-Status: No, hits=0.0 required=8.0 tests=
Return-Path: <zefram [...]>
X-Original-To: bug-Devel-Declare [...]
Content-Disposition: inline
Date: Fri, 3 Jul 2009 17:08:59 +0100
X-Spam-Level: *
X-Virus-Checked: Checked by ClamAV on
Content-Type: multipart/mixed; boundary="EuxKj2iCbKjpUGkD"
Message-ID: <20090703160859.GH19984 [...]>
To: bug-Devel-Declare [...]
From: Zefram <zefram [...]>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Disposition: inline
X-RT-Original-Encoding: us-ascii
Content-Length: 323
Download (untitled) / with headers
text/plain 323b
Bonus bug. Not sure how get_linestr_offset() is meant to behave, but in practice it's changing when toke_skipspace() causes a new line to be appended to linestr. Test script attached. The test script expects get_linestr_offset() to stay the same, which is what it does when there's only a single line involved. -zefram
Content-Type: application/x-troff
content-disposition: attachment; filename="offset.t"
Content-Transfer-Encoding: quoted-printable
Content-Length: 1106
Download offset.t
text/x-perl 1k

Message body is not shown because sender requested not to inline it.

MIME-Version: 1.0
In-Reply-To: <20090703160859.GH19984 [...]>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <20090703160859.GH19984 [...]>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-17365-1328129180-1739.47548-0-0 [...]>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 123
Download (untitled) / with headers
text/plain 123b
The offset appears to no longer (in D:D 0.006008) misbehave in this way. However, the test script fails for other reasons.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to