Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: help in understanding the standard array shuffleby ChOas (Curate) |
on Feb 14, 2001 at 17:56 UTC ( [id://58339]=note: print w/replies, xml ) | Need Help?? |
Hi! 1: this works like a C-style for: The 2nd argument is the 'while' (or as you call it 'guard') part... when $i reaches '0' it is no longer true, the for loop breaks 2: It is a slice on the 1-D array, it means : take the elements at position $j, and $i, and put them in position $i and $j Hope this helps a little bit GreetZ!,
print "profeth still\n" if /bird|devil/;
In Section
Seekers of Perl Wisdom
|
|