more useful options | |
PerlMonks |
Re: one liner automagic strftime()by hdb (Monsignor) |
on Aug 22, 2017 at 13:07 UTC ( [id://1197799]=note: print w/replies, xml ) | Need Help?? |
In the substitution operator the right hand side is evaluated in scalar context and thus localtime returns the formatted date as a string as per documentation:
In Section
Seekers of Perl Wisdom
|
|