Subject: | Synopsis example, could be improved |
Date: | Mon, 7 Mar 2011 10:29:25 +0000 |
To: | bug-Oxford-Calendar [...] rt.cpan.org |
From: | David Sheldon <dave [...] earth.li> |
The example for man Oxford::Calendar is:
use Oxford::Calendar;
print "Today is ", Oxford::Calendar::ToOx(reverse Date::Calc::Today);
Which uses ToOx in the array context, and ends up with a string that
isn't very readable as it has no spaces. If we replaced the ", " with a
"." then it'll use ToOx in the string context and actually format a
date.
Currently it says:
Today is Monday8Hilary2011
With my change it'll say:
Today is Monday, 8th week, Hilary 2011
A '\n' wouldn't go amis either, but might mess up the clarity of the
example.
David
--
"Plastic is only rubber made with oil"
-- a Member of the Technical Staff