Syntactic Confectionery Delight | |
PerlMonks |
Re^3: DateTime::Format::Strptime Parsing Seems to have a Problem?by hippo (Bishop) |
on Mar 31, 2019 at 12:23 UTC ( [id://1231921]=note: print w/replies, xml ) | Need Help?? |
mainly in the interests of performance If you are going to use $LocalTZ more than once then storing the DateTime::TimeZone object as a variable has a performance benefit. Conversely if you are going to use it only the once then there's likely to be a (very small) performance penalty.
In Section
Seekers of Perl Wisdom
|
|