Gossamer Forum
Home : General : Perl Programming :

Open Question!

Quote Reply
Open Question!
 
Hello all!
Can anybody explain to me what is the diferences between on all the ways to open a file?
For example: I know that open (DATA,"$file_name") is just for reading
open (DATA, ">$file_name") and open (DATA, ">$file_name") are for writing, what are the difference
between both and what others type are there?

I would be very glad is someone explain it for me!

Thiago Moretti
PS. Sorry for my poor english!!