http://qs321.pair.com?node_id=1197873


in reply to Re: one liner automagic strftime()
in thread one liner automagic strftime()

Arf. So no magic, just the list / scalar context. I have always missed that paragraph of the localtime() perldoc... Thanks.

The best programs are the ones written when the programmer is supposed to be working on something else. - Melinda Varian

Replies are listed 'Best First'.
Re^3: one liner automagic strftime()
by hdb (Monsignor) on Aug 24, 2017 at 07:45 UTC

    Difficult to say as "Any sufficiently advanced technology is indistinguishable from magic." (Arthur C. Clarke)

    Perl surely falls into that category...