print RESULT grep { ! /_vti_cnf/ } <INFO>;
# so that could be read as print to the output filehandle the result of the
input file handle filtered by grep.....
wow - pretty concise line there....works well.
I'll need to look up $0 (perldoc perlvar: Contains the name of the file
containing the Perl script
being executed. )
thanks again,
Rob
--
- open file, find lines and print to a second fil... McCormick, Rob E
- Re: open file, find lines and print to a s... Dan Brown
- Re: open file, find lines and print to a s... Paul
- Re: open file, find lines and print to a s... Gil Tucker [ateliermobile]
- writing an array to file Kaustav Bhattacharya
- Re: writing an array to file Stephen P. Potter
- Re: writing an array to file Paul
- Re: writing an array to file Sean O'Leary
- RE: open file, find lines and print to a s... McCormick, Rob E
- RE: open file, find lines and print to... J. Patrick Lanigan
- RE: open file, find lines and print to a s... McCormick, Rob E
