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"

Reply via email to