Using while statement to check the entered value from keyboard
#!/usr/bin/perl -w use strict; while (<STDIN>) { print "You entered: "; print; }