Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002970]
LanX gets eaten by a black hole popping up in the vacuum of his head
[Eily]: that a black hole formed there would rather be the sign of a head too full
LanX can't hint anymore to zentaras video because he disappeared
[LanX]: auto-subtitles in YT are entertaining: "fuehrer" instead of fewer, "jews" instead of juice ...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-06-23 16:30 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (552 votes). Check out past polls.