Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.

X Report information
Id: 39738
Status: resolved
Left: 0 min
Priority: 0/0
Queue: Text-Lorem-More

Owner: Nobody
Requestors: PJFL <Support [...] RoxSoft.co.uk>
Cc:
AdminCc:

Severity: Normal
Broken in: 0.12
Fixed in: (no value)



X History Display mode: Brief headersFull headers
#   Wed Oct 01 07:29:52 2008 PJFL - Ticket created  
Subject: Test for count has a bad pattern
[text/plain 164b]
The pattern match in test for the count is wrong

carp "count must be a number, not \"$count\"" if ref $count || $count !~
m/^\d$/;

the pattern should be m/^\d+$/

#   Wed Oct 01 15:07:40 2008 RKRIMEN - Correspondence added  
[text/plain 285b]
On Wed Oct 01 07:29:52 2008, PJFL wrote:
> The pattern match in test for the count is wrong
>
> carp "count must be a number, not \"$count\"" if ref $count || $count !~
> m/^\d$/;
>
> the pattern should be m/^\d+$/

Thanks for the report. This is fixed in 0.13 (going up to CPAN now)
#   Wed Oct 01 15:07:42 2008 RT_System - Status changed from 'new' to 'open'  
#   Wed Oct 01 15:07:42 2008 RKRIMEN - Status changed from 'open' to 'resolved'