in reply to Re^2: The day of today
in thread The day of today

my $dayOfMonth = (localtime)[3];
In Perl terminology this is not an array slice, a slice would contrain contain more than one element . An array slice expresses a list, not a scalar. An array slice expresses a list, not an array.

Be well,
rir