Abstract
We’re starting to write real programs now, and real programs need to be able to read and write files from and to your hard drive. At the moment, all we can do is ask the user for input using 〈STDIN〉 and print data on the screen using print(). Pretty simple stuff, yes—but these two ideas actually form the basis of a great deal of the file handling you’ll do in Perl.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2010 James Lee
About this chapter
Cite this chapter
(2010). Files and Data. In: Beginning Perl. Apress. https://doi.org/10.1007/978-1-4302-2794-6_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2794-6_8
Publisher Name: Apress
Print ISBN: 978-1-4302-2793-9
Online ISBN: 978-1-4302-2794-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books