in reply to Re^3: Time matching YYYY-MM-DD HH:MM:SS.SSS
in thread Time matching YYYY-MM-DD HH:MM:SS.SSS
The user may not know which file contains the earlier timestamp. nmbr is a placeholder. Also, I didn't cut and paste the entire code, it is too long. I can include the preamble for you if you wishfile1.txt: 2009/01/01 00:05:00.000 nmbr nmbr 2009/01/01 00:10:00.000 nmbr nmbr 2009/01/01 00:15:00.000 nmbr nmbr 2009/01/01 00:20:00.000 nmbr nmbr file2.txt: 2009/01/01 00:00:00.000 nmbr nmbr 2009/01/01 00:05:00.000 nmbr nmbr 2009/01/01 00:10:00.000 nmbr nmbr 2009/01/01 00:15:00.000 nmbr nmbr 2009/01/01 00:20:00.000 nmbr nmbr
What is the form of open I should use? Thanks for the help.#!/usr/bin/perl use strict; use warnings;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Time matching YYYY-MM-DD HH:MM:SS.SSS
by dave_the_m (Monsignor) on Jul 26, 2012 at 19:44 UTC | |
by PRyanRay (Novice) on Jul 26, 2012 at 19:54 UTC | |
by dave_the_m (Monsignor) on Jul 27, 2012 at 11:34 UTC | |
by PRyanRay (Novice) on Jul 27, 2012 at 19:34 UTC | |
by dave_the_m (Monsignor) on Jul 28, 2012 at 00:37 UTC |