<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
    <added>
      <filename>GNUmakefile</filename>
    </added>
    <added>
      <filename>Makefile.PL</filename>
    </added>
    <added>
      <filename>t/9000-text-for-count-has-a-bad-pattern.t</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,7 @@
 0.13 Wednesday October 01 11:44:03 PDT 2008:
     - Conversion from Build.PL to Makefile.PL (Module::Install)
     - Move from svn to git (github)
+    - Fix for RT39738 (http://rt.cpan.org/Ticket/Display.html?id=39738)
 0.12 2006-10-3
     + More documentation.
 0.11 2006-10-2</diff>
      <filename>Changes</filename>
    </modified>
    <modified>
      <diff>@@ -3,14 +3,14 @@ NAME
     words.
 
 VERSION
-    Version 0.12
+    Version 0.13
 
 SYNOPSIS
     Generate formatted nonsense using random Latin words.
 
             use Text::Lorem::More;
 
-            my $lorem = Text::Lorem::More-&gt;new();
+            my $lorem = Text::Lorem::More-&gt;new;
         
             # Greet a friend
             print &quot;Hello, &quot;, $lorem-&gt;fullname, &quot;\n&quot;;</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,7 @@ Text::Lorem::More - Generate formatted nonsense using random Latin words.
 
 =head1 VERSION
 
-Version 0.12
+Version 0.13
 
 =head1 SYNOPSIS
 
@@ -17,7 +17,7 @@ Generate formatted nonsense using random Latin words.
 
 	use Text::Lorem::More;
 
-	my $lorem = Text::Lorem::More-&gt;new();
+	my $lorem = Text::Lorem::More-&gt;new;
 	
 	# Greet a friend
 	print &quot;Hello, &quot;, $lorem-&gt;fullname, &quot;\n&quot;;
@@ -40,12 +40,14 @@ Generate formatted nonsense using random Latin words.
 
 =cut
 
-our $VERSION = '0.12';
+our $VERSION = '0.13';
+
+use base qw/Exporter/;
 
-use Text::Lorem::More::Source;
 use Carp;
-use base qw(Exporter);
 use Parse::RecDescent;
+
+use Text::Lorem::More::Source;
     
 our $PARSER = Parse::RecDescent-&gt;new(&lt;&lt;'_END_');
 content: &lt;rulevar: local @content &gt;
@@ -415,11 +417,12 @@ sub _process {
 	my $separator = shift;
 
 	$RECURSION += 1;
-	croak &quot;too much recursion ($RECURSION) on \&quot;$content\&quot;&quot; if $RECURSION &gt;= MAXIMUM_RECURSION;
+	croak &quot;Too much recursion ($RECURSION) on \&quot;$content\&quot;&quot; if $RECURSION &gt;= MAXIMUM_RECURSION;
 
 	$count = 1 unless defined $count;
+    croak &quot;\$count ($count) should be a number&quot; unless $count =~ m/^\d+$/;
+
 	$separator = &quot; &quot; unless defined $separator;
-	carp &quot;count must be a number, not \&quot;$count\&quot;&quot; if ref $count || $count !~ m/^\d$/;
 
 	local $Text::Lorem::More::COUNT = $count; $COUNT = $COUNT;
 	local $Text::Lorem::More::PRUNE = 0;
@@ -449,11 +452,12 @@ sub _generate {
 	my $fast = shift;
 
 	$RECURSION += 1;
-	croak &quot;too much recursion ($RECURSION) on \&quot;$pattern\&quot;&quot; if $RECURSION &gt;= MAXIMUM_RECURSION;
+	croak &quot;Too much recursion ($RECURSION) on \&quot;$pattern\&quot;&quot; if $RECURSION &gt;= MAXIMUM_RECURSION;
 
 	$count = 1 unless defined $count;
+    croak &quot;\$count ($count) should be a number&quot; unless $count =~ m/^\d+$/;
+
 	$separator = &quot; &quot; unless defined $separator;
-	carp &quot;count must be a number, not \&quot;$count\&quot;&quot; if ref $count || $count !~ m/^\d$/;
 
 	local $Text::Lorem::More::COUNT = $count; $COUNT = $COUNT;
 	local $Text::Lorem::More::PRUNE = 0;
@@ -491,7 +495,7 @@ sub _replace_pattern {
 		$content = $generatelet-&gt;($self);
 	}
 	else {
-		croak &quot;don't know how to run/handle generatelet \&quot;$generatelet\&quot;&quot;;
+		croak &quot;Don't know how to run/handle generatelet \&quot;$generatelet\&quot;&quot;;
 	}
 
 	if (ref $content eq &quot;ARRAY&quot;) {</diff>
      <filename>lib/Text/Lorem/More.pm</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ab3e6bb4629618f7377f61f5dff7008d29723af5</id>
    </parent>
  </parents>
  <author>
    <name>robertkrimen</name>
    <email>robertkrimen@gmail.com</email>
  </author>
  <url>http://github.com/robertkrimen/text-lorem-more/commit/4f385813ab16e50ef39f6271afb6b7211745c4b5</url>
  <id>4f385813ab16e50ef39f6271afb6b7211745c4b5</id>
  <committed-date>2008-10-01T12:04:49-07:00</committed-date>
  <authored-date>2008-10-01T12:04:49-07:00</authored-date>
  <message>Fix for RT39738 (http://rt.cpan.org/Ticket/Display.html?id=39738)</message>
  <tree>e086ef8648a90ce68fcc880cc408f719fa7de400</tree>
  <committer>
    <name>robertkrimen</name>
    <email>robertkrimen@gmail.com</email>
  </committer>
</commit>
