Hello all,
I have a simple question to ask... When doing while (<FILE>) {} what is the default varible..? is it " $_ "..? I have a script I am working on to parse some ascii txt files to extract predetermined information... After opening and scanning the above mentioned text files and extracting the required information... I print the scanned txtfile into a new filename on my filesystem... When I print the lines from the FILE into the new filename, I have data (Several Lines) from previously scanned logfiles printing into each new file I create...
Thanks, in advance for any help provided..! Darrick...
update (broquaint): title change (was Stupid newby question)
In reply to default variable for while() by dbrock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |