Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Simple perl question

by toolic (Bishop)
on Nov 08, 2012 at 19:54 UTC ( #1002970=note: print w/replies, xml ) Need Help??


in reply to Re: Simple perl question
in thread Simple perl question

Isn't Date::Calc in core?
No (as of perl 5.14):
corelist Date::Calc Date::Calc was not in CORE (or so I think)

Replies are listed 'Best First'.
Re^3: Simple perl question
by karlgoethebier (Prior) on Nov 08, 2012 at 20:09 UTC

    ...right for my Mac too using v5.12.3:

    Karls-Mac-mini:~ karl$ corelist Date::Calc Date::Calc was not in CORE (or so I think)

    I installed it and forgot about...

      Just to keep my mental health:

      Karls-Mac-mini:Date-Calc-6.3 karl$ perl Makefile.PL PREFIX=/Users/karl +/lib #... Karls-Mac-mini:Date-Calc-6.3 karl$ make && make test && make install #... Karls-Mac-mini:Date-Calc-6.3 karl$ cd Karls-Mac-mini:~ karl$ ls -hlrt lib/ total 0 drwxr-xr-x 3 karl karl 102B 8 Nov 21:57 share drwxr-xr-x 3 karl karl 102B 8 Nov 21:57 lib drwxr-xr-x 3 karl karl 102B 8 Nov 21:57 Library karls-Mac-mini:Date-Calc-6.3 karl$ perl -I/Users/karl/lib/ -MDate::Cal +c -MData::Dumper -e 'print Dumper(Date::Calc::Today_and_Now()).join(q +q(\n),@INC);' $VAR1 = 2012; $VAR2 = 11; $VAR3 = 8; $VAR4 = 22; $VAR5 = 44; $VAR6 = 27; /Users/karl/lib/ /sw/lib/perl5 /sw/lib/perl5/darwin /Library/Perl/5.12/darwin-thread-multi-2level #... karls-Mac-mini:Date-Calc-6.3 karl$ perl -MDate::Calc -MData::Dumper -e + 'print Dumper(Date::Calc::Today_and_Now()).join(qq(\n),@INC);' $VAR1 = 2012; $VAR2 = 11; $VAR3 = 8; $VAR4 = 22; $VAR5 = 42; $VAR6 = 48; /sw/lib/perl5 /sw/lib/perl5/darwin /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 #...

      Seems it finds the right one. Regards, Karl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002970]
help
Chatterbox?
[Corion]: marto: Redoing something on new infrastructure sounds fun. At least you can reuse your previous experience :)
[marto]: I'm looking forwads to it. The video sources are dying, and they don't have the hardware to play them back (old tape formats, not just VHS + Laserdisc etc)
[marto]: I'll be interested to see what difference in terms of file size/quality the new codecs make. I enjoy working on things like this, so that's a bonus
[Corion]: Ah, cool! So it's not an inhouse youtube but for a wider consumption
[marto]: last time it was IE6 clients, now they're on 11, so more scope there also, in terms of UI and playback
[marto]: in house as in Company network, not internet connected (power stations and the corporate HQs)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-07-28 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (425 votes). Check out past polls.