On Sat, Feb 15, 2003 at 01:03:50PM -0800, brady jacksan wrote:
> Hi
Hi,
> I am writing a script that reads file from command line and places
> each line from the files into an array, and prints out the total lines
> read and then
> each line read.
>
> while (defined ($files = <>)) {
>
Another excellent tool (if you don't mind a tron of output) is
use diagnostics -verbose;
enable diagnostics;
Paul
--- ktb <[EMAIL PROTECTED]> wrote:
> On Sat, Feb 15, 2003 at 01:03:50PM -0800, brady jacksan wrote:
> > Hi
> >
> > I am writing a script that reads file from command line and
Brady Jacksan wrote:
>
> Hi
Hello,
> I am writing a script that reads file from command line and places
> each line from the files into an array, and prints out the total lines
> read and then
> each line read.
>
> while (defined ($files = <>)) {
^^^^
Unless y
On Sat, Feb 15, 2003 at 01:03:50PM -0800, brady jacksan wrote:
> Hi
>
> I am writing a script that reads file from command line and places
> each line from the files into an array, and prints out the total lines
> read and then
> each line read.
>
> while (defined ($files = <>)) {
> ch
Wiggins d'Anconia wrote:
brady jacksan wrote:
Hi
I am writing a script that reads file from command line and places
each line from the files into an array, and prints out the total lines
read and then
each line read.
while (defined ($files = <>)) {
chomp;
print "Total lines in
brady jacksan wrote:
Hi
I am writing a script that reads file from command line and places
each line from the files into an array, and prints out the total lines
read and then
each line read.
while (defined ($files = <>)) {
chomp;
print "Total lines in the files:@files\."
prin
Wiggins D'Anconia wrote:
>
> dakenah johnson wrote:
> >
> > I am trying to write a script that reads names fron standard input and
> > matches it to a key in a given table and prints out the name and key
> >
> > Enter a first name or " ", to exit
> > chomp { $name = };
> > while $name ne " "
> >
dakenah johnson wrote:
Hi,
I am trying to write a script that reads names fron standard input and
matches it to a key in a given table and prints out the name and key
Enter a first name or " ", to exit
chomp { $name = };
while $name ne " "
if $name is in @given_table
then
print "$name maps