Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #! usr/bin/perl
  2.  
  3. print "Hello there!n";
  4. print "What is your favorite game?n";
  5. $name = <STDIN>;
  6. chomp $name;
  7. print "That's awesome! $name is my favorite game too!n";
  8.  
  9. print "Do you think this is a fun script (Y/n) n";
  10. $status = <STDIN>;
  11. if [ $status = "y" ]: then
  12.  
  13. print "YAY! I knew you would like it!n";
  14.  
  15. if [ $status = "n" ]: then
  16.  
  17. print "You suck, not me!n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement