#open file for reading

open (READ, "<file.txt");

#open file for writing

open (WRITE, ">file2.txt");

# you'll then have to loop through
# the READ file with a foreach loop 
# or a while loop to perform
# "various commands"

while (<READ>) {
#perform command
# Then write to the file

print WRITE "$value\n";

}



close(READ);
close(WRITE);

Greg



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to