Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Locationg celestial objects (using Astro::Coords, if need be)

by Mr. Muskrat (Canon)
on Oct 25, 2012 at 19:21 UTC ( #1000920=note: print w/replies, xml ) Need Help??

in reply to Locationg celestial objects (using Astro::Coords, if need be)

When you run the following do you see the correct local time? It sounds like you won't; in which case something is misconfigured in the OS.

perl -MTime::Piece -e 'my $l = localtime; print "local time is $l\n"'

Replies are listed 'Best First'.
Re^2: Locationg celestial objects (using Astro::Coords, if need be)
by schweini (Friar) on Oct 25, 2012 at 19:29 UTC
    Nope. The clock seem s to be ok:
    C:\Users\schweini\Dropbox\hacks>perl -MTime::Piece -e "my $l = localti +me; print qq|local time is $l\n|" local time is Thu Oct 25 13:29:00 2012
    (which obviously is my localtime right now)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000920]
[Corion]: Discipulus: I think Module::Corelist ( or corelist ) can tell you that
[Corion]: Meh - Module::CoreList
[choroba]: Just use List::Util 1.29
[choroba]: Be kind to people using old Perl with newer version of the module
[Corion]: But why not simply specify 'List::Util' => 1.29 in your prerequisites? People might install a more recent version of the module into their Perl
[Corion]: (what choroba said)
[Discipulus]: ah! simpler and cleaner
[Discipulus]: thanks! use List::Util 1.29 qw(pairmap ... just works!

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2017-05-25 09:23 GMT
Find Nodes?
    Voting Booth?