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

Re^3: using File::Find to find recently-installed modules

by ablanke (Prior)
on Jun 25, 2016 at 18:39 UTC ( #1166562=note: print w/replies, xml ) Need Help??


in reply to Re^2: using File::Find to find recently-installed modules
in thread using File::Find to find recently-installed modules

Question Y:

With a distibution installing is (almost) as easy as installing a CPAN module. Try to install your code on another maschine and make it runable!

Question Z:

Have you thought about (experience) using a Version Control System like git?

With a Version Control System you can check when a file was added or editet.

  • Comment on Re^3: using File::Find to find recently-installed modules

Replies are listed 'Best First'.
Re^4: using File::Find to find recently-installed modules
by Aldebaran (Curate) on Jun 30, 2016 at 07:25 UTC

    Haven't done github yet, but I'm learning so much by the "acting as if" I'm releasing a distribution that I won't stop. I started my main project here: https://github.com/TBlazer66/hello-world/blob/master/g8.pl . Why this file? It's what I had.

    This represents the extent of my forward progress with this material: https://github.com/TBlazer66/hello-world/blob/variations-on-FindFile/g10.pl One sees that this is a different branch, and that one would see that in the path for it to be posted on the internet is my little revelation of the last half hour. Also, I took to heart your suggestion to run this code on two different systems, and I did that today. I found the output striking. First for windows, and then for the dual boot ubuntu:

    C:\Users\Fred\Documents>perl g10.pl C:/Users/Fred/Documents/coconuts/html1/lib/html1.pm html1.pm: access age in days: 0.1580 C:/Users/Fred/Documents/MyModule/lib/MyModule.pm MyModule.pm: access age in days: 2.7172 C:/Users/Fred/Documents/perl5/lib/perl5/Module/CoreList.pm CoreList.pm: access age in days: 0.1679 C:/Users/Fred/Documents/perl5/lib/perl5/Module/CoreList/TieHashDelta.p +m TieHashDelta.pm: access age in days: 0.1679 C:/Users/Fred/Documents/perl5/lib/perl5/Module/CoreList/Utils.pm Utils.pm: access age in days: 0.1679
    $ perl g10.pl /media/fred/Windows8_OS/Users/Fred/Documents/MyModule/lib/MyModule.pm MyModule.pm: access age in days: 2.7315 /media/fred/Windows8_OS/Users/Fred/Documents/perl5/lib/perl5/Module/Co +reList.pm CoreList.pm: access age in days: 0.1822 /media/fred/Windows8_OS/Users/Fred/Documents/perl5/lib/perl5/Module/Co +reList/TieHashDelta.pm TieHashDelta.pm: access age in days: 0.1822 /media/fred/Windows8_OS/Users/Fred/Documents/perl5/lib/perl5/Module/Co +reList/Utils.pm Utils.pm: access age in days: 0.1822 /media/fred/Windows8_OS/Users/Fred/Documents/coconuts/html1/lib/html1. +pm html1.pm: access age in days: 0.1723 $

    This will be no surprise to the others, but for me to see consistent data across platforms made my jaw drop.

    I'm trying to get my head around how changes get made with this toolchain, s.t. one can have as much backup as one wanted to create version numbers in branches. That's a way in which my self-replicating templates weren't working...they never could keep track of whatever rabbit they were chasing. Again, I truly appreciate people who take the time to read my posts, weigh it on their minds, and respond with perl, tips, tricks, and methods....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1166562]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2022-05-24 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?