[PBP-pm] Working with dates
Joshua Hoblitt
jhoblitt at ifa.hawaii.edu
Wed Dec 21 15:52:53 PST 2005
On Wed, Dec 21, 2005 at 01:24:29PM -0800, Jay Buffington wrote:
> DateTime breaks the "Named Arguments" best practice from the PBP book
> (chapter 9, page 182). It seems intuitive to me that the opposite
> should be true and that returning hashes is bad for similiar reasons.
> i.e. what if the users does something like this:
> my @date = get_date();
Huh? What DateTime method returns a hash (the constructors and mutators
return blessed hash reference but that's hardly the same thing)?
Does POSIX.pm follow PBP or Date::Parse or Date::Manip?
Cheers,
-J
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/pbp-pm/attachments/20051221/1a17eb6b/attachment.bin
More information about the PBP-pm
mailing list