Pipes | Streams  «Prev  Next»

Open and write to Perl file - Exercise

Write a simple Perl script that opens and writes to a file. It can be very simple.
We have seen arrays, hashes, and subroutines passed around in references, permitting a level of indirection to solve certain types of problems. We can also store filehandles in references.
Paste your source code in the text area below and click the Submit button when you are finished.