Reading Entire Files

Reading in an entire file is now as simple as
my $file_content = slurp("filename.txt");
Or to get an array with an element for each line in the file
my @lines = slurp("filename.txt");
Reads the whole file in one go - very handy, but be careful when dealing with big files!
Type :next to continue