PERL Tutorial Example: User Input in PERL
PERL Example Base Tutorial: User Input in PERL - How a user can make some input in PERL
create a file named "perl-tutorial-example-user-input.pl" then copy and paste the below code:
print "What do you want? :"; $UserExpectation =; print "\n\nYou anticipated :$UserExpectation";
PERL Example Base Tutorial: User Input in PERL description
Now run the program (perl-tutorial-example-user-input.pl) from command prompt and make some input at the prompt and get the result as follows:
No comments:
Post a Comment
leave your comments here..