in reply to file handing
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 $!;
|
|---|