Skip to content

Instantly share code, notes, and snippets.

@moznion
Created October 28, 2012 06:52
Show Gist options
  • Save moznion/3967917 to your computer and use it in GitHub Desktop.
Save moznion/3967917 to your computer and use it in GitHub Desktop.
Sample code for perl beginners #5
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