in reply to RE: RE: Re: required explicit package error.
in thread required explicit package error.
I think the program is getting the input, however it is just not doing anything with it. Once I enter the name of the file, it just sits there, instead of parsing. How come?? THanks Paavprint "Input file name: "; $_ = <>; chop; open(INFILE, $_); while (<INFILE>) { if(m/total/) { s/^total\s[0-9]+\s[0-9]+\s([0-9]+)\s([0-9]+)$/$1 $2/; print; } } close INFILE
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: required explicit package error.
by nuance (Hermit) on Jun 15, 2000 at 23:43 UTC |