#!/usr/bin/perl use strict; use warnings; print "What would you like to do? : "; chomp(my $todo = ); if($todo eq "add") { print "$first_num + $second_num = ", $first_num + $second_num, "\n"; } elsif($todo eq "subtract") { print "$first_num - $second_num = ", $first_num - $second_num, "\n"; } ...