Hello,
I hope someone can help me. I am trying to parse data from a txt file and
output the results to a new file with timestamp in the name of the file.
The format of the txt file is ";" delimited and is several thousand records in
length. Below is an example of the .txt format.
PACE | EVDOP
On Dec 23, 2010 2:19 PM, "Chris Stinemetz" <
cstinem...@cricketcommunications.com> wrote:
>
> Hello,
>
> I hope someone can help me. I am trying to parse data from a txt file and
output the results to a new file with timestamp in the name of the file.
>
> The format of the txt file is ";" delimite
At 12:18 PM -0700 12/23/10, Chris Stinemetz wrote:
Hello,
I hope someone can help me. I am trying to parse data from a txt
file and output the results to a new file with timestamp in the
name of the file.
Look at the open function for reading existing files and creating new
ones: perldoc
Jim,
Thank you for your help!
My perl program contains the following code. I am getting errors when I run the
program. Any insight is greatly appreciated.
Thank you,
Chris
1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5
6 #Get data from EVDOPCMD.txt file and output to proces
On Thu, Dec 23, 2010 at 10:55 PM, Chris Stinemetz
wrote:
> 1 #!/usr/bin/perl
> 2
> 3 use warnings;
> 4 use strict;
> 5
> 6 #Get data from EVDOPCMD.txt file and output to processed.txt file.
> 7
> 8 print "What file do you want to parse?";
> 9 $filename = ;
> 10
> 11 open( my $in, '<', $