#!/usr/bin/perl use strict; use warnings; print "Enter a number:"; my $input = ; chomp $input; print "47\n" if ( $input == 47 );