in reply to Time:Piece help
Post the actual code that produces the error. As it is & as already noted, your code (currently) does not produce the error of "Can't call method "hms" on an undefined value".
hms is a method of Time::Piece to get the time parts as string.
Look up Time::Seconds API to get seconds, hours, minutes from difference (object) as noted in Time::Piece.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Time:Piece help
by Anonymous Monk on Apr 24, 2014 at 16:15 UTC | |
by runrig (Abbot) on Jun 02, 2014 at 23:36 UTC |