Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
add paragraph in documentation that explains why Time::HiRes::time shoul... #6
One possibility would be to use
It's not very unusual to wrap a
If a user forgets the square brackets, then he'll get an error like this (currently and also in future):
This is rather cryptic. maybe DateTime can detect here that the key without value is an integer and give better diagnostics, e.g. "Did you mean DateTime->from_epoch(epoch => [1422646510, 506309]), that is, wrapping the argument in an array reference?"