Created
October 28, 2012 06:52
-
-
Save moznion/3967917 to your computer and use it in GitHub Desktop.
Sample code for perl beginners #5
This file contains hidden or 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
my @list = (1,2,3,4,5,6,7,8,9,10); | |
foreach my $elem (@list) { | |
sleep(1); | |
print $elem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment