Bug#909462: Add additional example, of scalar localtime with arguments
積丹尼 Dan Jacobson
jidanni at jidanni.org
Mon Sep 24 08:45:14 BST 2018
Package: perl-doc
Version: 5.26.2-7
Severity: wishlist
File: /usr/share/man/man1/perlfunc.1.gz
We read
In scalar context, "localtime" returns the ctime(3) value:
my $now_string = localtime; # e.g., "Thu Oct 13 04:54:34 1994"
OK but please also add an additional example, of scalar localtime with arguments:
print scalar localtime 22; # "Thu Jan 1 08:00:22 1970"
More information about the Perl-maintainers
mailing list