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....
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.