ibanix did answer your question - it's just somewhat overshadowed by his misc. comments in the top half of his node. The problem is you're opening the file for writing only, and then attempting to read from it.
You may want to have a look at perlopentut sometime for some of the subtleties of working with files.
Makeshifts last the longest.
In reply to Re^3: Write to file, after manipulation
by Aristotle
in thread Write to file, after manipulation
by FireBird34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |