The first snippet "works" because it is calling POSIX::gmtime whereas the second is calling CORE::gmtime. Different functions behave differently.
🦛
In reply to Re^3: What's so wrong with this (dereferencing)code?
by hippo
in thread What's so wrong with this (dereferencing)code?
by Maelstrom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |