Perl: the Markov chain saw PerlMonks

### Re^4: Simple perl question

by karlgoethebier (Monsignor)
 on Nov 08, 2012 at 21:57 UTC ( #1002997=note: print w/replies, xml ) Need Help??

in reply to Re^3: Simple perl question

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
#...

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
#...

Seems it finds the right one. Regards, Karl

Create A New User
Node Status?
node history
Node Type: note [id://1002997]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2018-04-26 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
My travels bear the most uncanny semblance to ...

Results (97 votes). Check out past polls.

Notices?