Skip to main content

Files and Data

  • Chapter
Beginning Perl
  • 2734 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics