Skip Menu |

This queue is for tickets about the Text-WikiCreole CPAN distribution.

Report information
The Basics
Id: 29835
Status: resolved
Priority: 0/
Queue: Text-WikiCreole

People
Owner: Nobody in particular
Requestors: nomad [...] null.net
Cc:
AdminCc:

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



Subject: Text::WikiCreole [0.03] croaks on undefined input.
Date: Mon, 8 Oct 2007 10:10:57 +0200
To: bug-Text-WikiCreole [...] rt.cpan.org
From: Mark Lawrence <nomad [...] null.net>
Test case: use Text::WikiCreole; creole_parse(undef); Running the above results in lots of "uninitialized value in pattern match" error messages and infinite recursion. I've fixed this in my local copy by adding the following to the very start of creole_parse(): return '' unless(defined($_[0])); but most likely the issue is inside the parse() method itself. p.s. Great module by the way. Been hoping someone was going to write up Creole... Cheers, Mark. -- Mark Lawrence
This has been resolved in 0.04, which has been uploaded to CPAN.