There's more than one way to do things | |
PerlMonks |
Re: Counting strings not counting correctly.by johngg (Canon) |
on May 11, 2017 at 10:09 UTC ( [id://1190051]=note: print w/replies, xml ) | Need Help?? |
Probably better to avoid shelling out to /bin/date and use the core POSIX::strftime instead. Also, chomp would be better than chop in your original code.
I hope this is of interest. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|