my $input = ; chomp($input); # remove newline my $output = $input + 1.23; print "output: $output\n";