On Sun Sep 02 06:46:19 2018, SREZIC wrote:
Show quoted text> $ perl5.28.0 -Esay~~localtime
> 0
> $ perl5.26.2 -Esay~~localtime
> Sun Sep 2 12:45:57 2018
>
> Probaly worth a note in the documentation.
But note:
$ perl -le'print $];print ~~localtime'
5.028001
Wed Mar 27 11:25:22 2019
So it seems it's related to one of the features enabled by -E.
After some more testing:
$ perl -Mfeature=say -le 'print $];print ~~localtime'
5.028001
Wed Mar 27 11:27:44 2019
$ perl -Mfeature=say,bitwise -le 'print $];print ~~localtime'
5.028001
0
The 'bitwise' feature stomps the inchworm!
Thanks for pointing this out.
-- BooK