The Ultimate Business Machine - Archives
List of Categories : Commentary * Database * Singapore * Technology * Travel *
Mon 05 Apr 2004
Category : Technology/logGen.txt
I read about logGen in MacSurfer on Saturday (which pointed to me to Macosxhints). It's interesting how things turn up just when you need them. This looks like what I need to keep track of the Perl modules. For example, if I install Date::Calc, I will get an output like this after running logGen :
logGen -- version 1.0
Copyright 2004 - The Regents of the University of Michigan
All Rights Reserved
45 new files:
2 changed files:
0 deleted files
So this tells me that these are all the new stuff that came in with the Date::Calc installation, including all the modules Date::Calc depended on, and where you can find them.
Neat. Even if I had monitored the terminal window like a hawk during the Date::Calc installation, I would never have figured this out. An alternative is to compare the state of the file system using two machines. (Actually I did that and realised I would have needed three machines, with one serving as the baseline.) But this would be too tedious and almost impossible to get right.
So logGen is a great tool and I'm sure I can find even more use for it.
I can see that the installation process wrote something into perllocal.pod. Perhaps there's a short cut to all this if I know enough about Perl and maybe the answers are all in the pod file. But you learn things any way you can.