Perl Variables  «Prev  Next»

Perl Split Join - Exercise

Using the Split Function


Objective: Write two programs using join and split.

Instructions

Write two programs, one which writes an array to a file, and the other which reads the array from the file. In the file, the array should be delimited by colons (or whatever character you like) all on one line.
Paste your program code below and click the Submit button when you are finished.