Skip to content

you use perl for AoC because you're experienced at perl. I do perl because I love pain. We are not the same

Notifications You must be signed in to change notification settings

daftmaple/AdventOfCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code (in Perl)

In order to run the code, make sure that Perl 5 is installed in /usr/bin/perl.

There are some cases where you need to install CPAN modules.

Running perl with docker

On the current directory, execute

docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp perl:5 perl q01.pl

Or use the run.pl script on the root directory if you have perl already (I don't know why would you do this)

./run.pl <year> <day> <problem>

Example:

./run.pl 2023 1 b

Create template for day

Use generate.pl with the same template as run.pl.

./run.pl 2023 2 a

About

you use perl for AoC because you're experienced at perl. I do perl because I love pain. We are not the same

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published