Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! usr/bin/perl
- print "Hello there!n";
- print "What is your favorite game?n";
- $name = <STDIN>;
- chomp $name;
- print "That's awesome! $name is my favorite game too!n";
- print "Do you think this is a fun script (Y/n) n";
- $status = <STDIN>;
- if [ $status = "y" ]: then
- print "YAY! I knew you would like it!n";
- if [ $status = "n" ]: then
- print "You suck, not me!n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement