Can anyone tell me.Is their any possiblities to read and write a single file by using single file handling in perl programming.
i had tried the following code
only the content of FILEHANDLE is written to the filename.txt, where as it doesn't print <FILEHANDLE>;open(FILEHANDLE,"+<filename.txt"); print <FILEHANDLE>; print FILEHANDLE "Hai"; print FILEHANDLE "Bye";
why it so,
Edit: g0n - code tags and formatting
In reply to file handing by boby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |