Guest User

Untitled

a guest
May 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!\usr\bin\perl -w
  2.  
  3. use strict;
  4. use warnings;
  5.  
  6. print "Names of everyone in your family: ";
  7. my @names = <STDIN>;
  8. my @sortednames = sort(@names);
  9. my $count = @sortednames;
  10.  
  11. for ( my $i=0; $i <= $count; $i++ ) {
  12. print @sortednames;
  13. }
Add Comment
Please, Sign In to add comment