Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use strict;
  4. use warnings;
  5. use utf8;
  6.  
  7. my $phrase = "My name is 404 ";
  8. my @text = split("", $phrase);
  9. my $array_num = @text;
  10.  
  11. my $temp;
  12. $| = 1;
  13.  
  14. while (1) {
  15. print "$phrase\r";
  16. select undef, undef, undef, 0.1;
  17.  
  18. $temp = shift(@text);
  19. push(@text, $temp);
  20. $phrase = join("", @text);
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement