http://www.perlmonks.org?node_id=206527

Discipulus has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks
I try learn to code, testing and retesting.. It pass a very strange think: I find the text of my code in the output!!

open (TEMPO, "+>c:\\winnt\\temp\\hash.tmp"); print (TEMPO "aba uba\niba seba\njak yuk\n"); ############open (TEMPO, "<c:\\winnt\\temp\\hash.tmp"); while (<TEMPO>) { print; }

If you uncomment the new open all runs normally 'cause Perl close th FH and reopen it for reading.
But, without commenting this line why I find in my output file a slice of my code ???
and on the screen some garbage and smiles ??
cheers for any explication
lor*

PS may be I have not to code when I have fever??
L*