in reply to Open/Save
and you can read as:open OUT, ">output.txt" or die "Can't open file\n"; print OUT foo close OUT
Don't know if this is exactly what you want.open IN, "output" or die "Can't open file\n"; while(<IN>) { # do something with $_ } close IN;
Alberto Simões
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Open/Save
by Anonymous Monk on Mar 31, 2005 at 14:49 UTC |