-
-
Save Code-Hex/aca7f70ba73389aa9d8f to your computer and use it in GitHub Desktop.
電光掲示板
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use utf8; | |
my $phrase = "My name is 404 "; | |
my @text = split("", $phrase); | |
my $array_num = @text; | |
my $temp; | |
$| = 1; | |
while (1) { | |
print "$phrase\r"; | |
select undef, undef, undef, 0.1; | |
$temp = shift(@text); | |
push(@text, $temp); | |
$phrase = join("", @text); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment