CC: | tommystanton [...] gmail.com |
Subject: | "Valid arguments" Pod is slightly inaccurate |
Hi Ricardo,
Please see the attached patch for a Pod correction.
Thanks,
Tommy
Subject: | 0001-truncate-is-an-arg-option-to-elide-not-elide.patch |
From f6db44e8c93751e64a91e6d232f96c1b533b19dc Mon Sep 17 00:00:00 2001
From: Tommy Stanton <tommystanton@gmail.com>
Date: Sat, 26 Mar 2011 00:21:55 -0700
Subject: [PATCH] 'truncate' is an arg option to elide(), not 'elide'
Made a correction to the Pod, regarding "Valid arguments."
---
lib/String/Truncate.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/String/Truncate.pm b/lib/String/Truncate.pm
index 49713dc..ca3622f 100644
--- a/lib/String/Truncate.pm
+++ b/lib/String/Truncate.pm
@@ -39,7 +39,7 @@ elision.
Valid arguments are:
- elide - elide at left, right, middle, or ends? (default: right)
+ truncate - elide at left, right, middle, or ends? (default: right)
marker - how to mark the elision (default: ...)
at_space - if true, strings will be broken at whitespace if possible
--
1.7.1.1