Post Reply 
HHC 2014 Programming Contest
09-29-2014, 05:27 PM
Post: #29
RE: HHC 2014 Programming Contest
(09-29-2014 04:57 PM)Thomas Klemm Wrote:  
(09-28-2014 11:58 AM)Neil Hamilton Wrote:  
Code:
#use strict;
ಠ_ಠ


Good eyes, Thomas! OK, I cheated a little bit! The Perl I have on my computer has the majorly annoying feature of sometimes displaying syntax errors as if they were occuring somewhere deep in the bowels of some standard packages rather than showing me where the issue really is -- in my code. I sometimes start to build a script with this turned off and switch it on later. Forgot this time...

Put 'my' in front of "$date_format" on lines 95 and 145 (as per my current version) and remove the comment on 'strict' and you are off to the races...

The "Joe" file is simply a cut-and-paste of his earlier list. The "Mine" file can be the list I published.

Command line could be:

Code:

$ perl whatever_you_called_this_script.pl  -j joes.txt -m pdp3.txt 
Date in mine but not Joe's: 31.016401
Date in mine but not Joe's: 31.016422
...

Joe, I suspected that it was simply a few lines were deleted from the output. A cut-and-paste issue makes perfect sense.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HHC 2014 Programming Contest - Paul Dale - 09-24-2014, 09:13 AM
RE: HHC 2014 Programming Contest - BruceH - 10-02-2014, 09:35 PM
RE: HHC 2014 Programming Contest - Jeff O. - 09-29-2014, 01:41 PM
RE: HHC 2014 Programming Contest - Jeff O. - 09-30-2014, 04:39 PM
RE: HHC 2014 Programming Contest - Jeff O. - 10-06-2014, 05:01 PM
RE: HHC 2014 Programming Contest - Jeff O. - 10-07-2014, 12:26 PM
RE: HHC 2014 Programming Contest - Neil Hamilton - 09-29-2014 05:27 PM
RE: HHC 2014 Programming Contest - Werner - 10-03-2014, 07:35 AM
RE: HHC 2014 Programming Contest - C.Ret - 10-05-2014, 10:02 AM
RE: HHC 2014 Programming Contest - Werner - 10-05-2014, 08:02 PM



User(s) browsing this thread: 1 Guest(s)