Richard's Perl Step 05
Working with Files



- I used "Sams Teach Yourself Perl in 24 Hours" - 3rd Edition as a reference for this page
- Run in windows DOS prompt
perl thisprogram.pl

perl c:\......\thisprogram.pl

 

Examples following Perl 24 hours book, Hour 5:

eg008.pl (text only) - open input file

eg009.pl (text only) - open input file and read stuff

eg010.pl (text only) - open output file

eg011.pl (text only) - open multiple filehandles at the same time, copy files

eg012.pl (text only) - open binary files, check if file exists