Danny Fang wrote:
> Hi,
Hello,
> I'm new to PERL and would like to seek help for the task mentioned below:
>
> I'm attempting to read the contents of a file containing rows with the format
> shown below:
> version|exchange|area|date|time|callmod|callid|callno1|callno2|part2|start_date|start_tim
On 11/21/05, Danny Fang <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm new to PERL and would like to seek help for the task mentioned below:
>
> I'm attempting to read the contents of a file containing rows with the
> format shown below:
>
> version|exchange|area|date|time|callmod|callid|callno1|
Danny Fang am Montag, 21. November 2005 13.59:
> Hi,
Hello Danny
> I'm new to PERL and would like to seek help for the task mentioned below:
>
> I'm attempting to read the contents of a file containing rows with the
> format shown below:
> version|exchange|...
> E144100TT|006030766|0521|.
Danny Fang wrote:
However, I'm not sure how I could rewrite the newly modified column values of
that particular row back into the file - I want to use the particular row which
had its columns modified to be duplicated and appended to the end of the
current file for a specific number of time
Hi,
I'm new to PERL and would like to seek help for the task mentioned below:
I'm attempting to read the contents of a file containing rows with the format
shown below:
version|exchange|area|date|time|callmod|callid|callno1|callno2|part2|start_date|start_time|spare|dur|flag_ini|indica
On Aug 4, 2004, at 9:57 AM, james derry wrote:
hi, all,
the answer to my question in probably obvious to all but me, but i
don't know how to test for end-of-file. basically, i want the
conditional to test TRUE if $lineCounter eq $lineLength OR the
end-of-file has been reached. i can'
hi, all,
the answer to my question in probably obvious to all but me, but i don't
know how to test for end-of-file. basically, i want the conditional to
test TRUE if $lineCounter eq $lineLength OR the end-of-file has been
reached. i can't find how do this in my learning perl or the
I am using an application called "Title" to kick off jobs instead of using the cron.
I am told that this application doesn't accept SQL embedded inside perl scripts unless
the SQL or perl script returns the end of file message. What method in perl returns
the eof message?
e "")
> {
> chop ($line);
> @array = split(/ /, $line);
> $wordcount += @array;
> $line = ;
> }
> print ("Total number of words : $wordcount\n");
>
> It's a simple straightforward piece of code that counts words;
Try CTRL-Z
-Original Message-
From: Marcelo Aimeta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 2:51 PM
To: [EMAIL PROTECTED]
Subject: end of file
Hi!
I'm working my way through sams "Teach yourself perl in 21 days" and I'm
stuck.
This is the
@array;
$line = ;
}
print ("Total number of words : $wordcount\n");
It's a simple straightforward piece of code that counts words;
the problem is that to quit the code, you have to enter CTRL-D, end-of-file,
and I can't get that to work.
I'm working on a pc, win98, acti
line);
$wordcount += @array;
$line = ;
}
print ("Total number of words : $wordcount\n");
It's a simple straightforward piece of code that counts words;
the problem is that to quit the code, you have to enter CTRL-D, end-of-file, and I
can't get that to work.
12 matches
Mail list logo