him

Untitled

him
Apr 7th, 2013
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. print "Would You like to pick a password Y/N? \n";
  2.  
  3. my $answer= <>;
  4.  
  5. if ($answer eq 'Y'){
  6. print "What would you want your password to be? \n";
  7. my $password = <>;
  8. }
  9.  
  10. elsif ($answer eq 'N'){
  11.  
  12. my $password = rand();
  13.  
  14. print $password;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment