Summary

 <  Day Day Up  >  

This hour you learned about opening and closing filehandles in Perl: You open files by using the open functions and close them by using close . When filehandles are open, they can be read with <> or read and written with print . Also, you learned about some of the oddities of how your operating system handles files and how to deal with them by using binmode .

Along the way, I hope that you also learned something about defensive programming.

 <  Day Day Up  >  


SAMS Teach Yourself Perl in 24 Hours
Sams Teach Yourself Perl in 24 Hours (3rd Edition)
ISBN: 0672327937
EAN: 2147483647
Year: 2005
Pages: 241

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net