Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: looking for feedback on my first script

by hippo (Chancellor)
on Jan 08, 2021 at 16:20 UTC ( #11126615=note: print w/replies, xml ) Need Help??


in reply to Re: looking for feedback on my first script
in thread looking for feedback on my first script

I would suggest you take the time to study Time::Piece and/or DateTime instead of the basic localtime stuff you're doing here

Completely agree. I'd also point out that of the two Time::Piece is always my first port of call as it is small and in core and is good enough for 95% of the date/time work I need to do. By contrast, DateTime is a bit of a monster but it does cater pretty well for the remaining 5% of cases.


🦛

  • Comment on Re^2: looking for feedback on my first script

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11126615]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2021-07-26 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?