Your course notes should cover that.
Have you read tell and seek? At least seek has an example showing how to use seek and tell in conjunction.
In reply to Re^3: How do I move two lines up in a file using perl
by Corion
in thread How do I move two lines up in a file using perl
by sabertooth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |