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.
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
Use generate.pl
with the same template as run.pl
.
./run.pl 2023 2 a