It prints out the contents of the file, then appends "HaiBye" to the file.use strict; use warnings; open(FILEHANDLE, "+<try2.pl") or die $!; print <FILEHANDLE>; print FILEHANDLE "Hai"; print FILEHANDLE "Bye"; close (FILEHANDLE) or die $!;
In reply to Re: file handing
by syphilis
in thread file handing
by boby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |