commit 1ead20b33b7ccf0ceb10caef8e4f713e73dcfce6 parent d96a6459450a6478872ad69078ad1aa17655a9ca Author: Samir Parikh <noreply@samirparikh.com> Date: Fri, 14 Oct 2022 14:48:52 +0000 update README Diffstat:
M | README.md | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -1 +1,8 @@ This repository contains my attempt to solve the 2015 edition of the [Advent of Code](https://adventofcode.com/2015) challenge using Perl 5. + +Note: For this set of puzzles, I decided to read the entire input file into a scalar variable (i.e. slurp the file). To do this, you'll see the following near the beginning of each file: + + chomp( my $input = do { local $/; <> } ); + +More information regarding this syntax can be found here: +https://www.perl.com/article/21/2013/4/21/Read-an-entire-file-into-a-string/