Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: weird problem with macports perl on apple m1/m2 based system

by perltux (Monk)
on Jun 10, 2023 at 23:15 UTC ( [id://11152758]=note: print w/replies, xml ) Need Help??


in reply to Re: weird problem with macports perl on apple m1/m2 based system
in thread weird problem with macports perl on apple m1/m2 based system

Ok I found why I originally added "use POSIX", it was for the strftime function, therefore I will change that to "use POSIX qw(strftime)" in my application.
  • Comment on Re^2: weird problem with macports perl on apple m1/m2 based system

Replies are listed 'Best First'.
Re^3: weird problem with macports perl on apple m1/m2 based system
by Anonymous Monk on Jun 11, 2023 at 18:41 UTC

    Off-topic to the original question, but relevant to use POSIX.

    Time::Piece provides equivalent functionality to POSIX::strftime, and has been core since 5.10.0. Read the docs carefully before using, though, because by default it replaces the core gmtime() and localtime() functions with ones that return an object if called in scalar context.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2026-04-12 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.