adventofcode/2024/03/Part2.pm

16 lines
197 B
Perl
Raw Normal View History

2024-12-04 20:46:05 +00:00
use lib qw/ . /;
use Part1;
package Day3::Part2;
use 5.36.0;
sub solve($program) {
my $p = $program;
$p =~ s/ don't\(\) .*? (do\(\)|\Z) //smgx;
return Day3::Part1::solve($p);
}
1;