Question

Perl: syntax for looping through the values in a list

Answer

foreach $var @array {

}

Comments:

Other flashcards from Beginning Perl :
How do you tell Linux operating syste...       What character is at the end of many ...       Command to read the Perl documentation       How can you run Perl with warnings en...       Perl: what pragma turns on warnings i...       What Perl pragma gives longer explana...       How are all numbers stored interally ...       Perl: what character can be used to m...       Perl syntax to create octal, hexadeci...       Perl: What operator is used to get t...       Perl operator is used to raise a numb...       Perl: what is different between sing...       How do you insert an octal or hexade...       Perl syntax for concatenate strings t...       Perl: what is the string repetition o...       Perl: how is a scalar variable declared       Perl: shortcut for assigning variable...       Perl statement to print information t...       How do you insert variables into a do...       Perl: how do you put a real dollar si...       Perl: Comparison operator for strings       Perl equality comparison operator for...       Perl: syntax for if / else statments       Perl: what is considered true and fal...       Perl syntax to grab a line from keyboard       Perl function to remove newline from ...       Perl: syntax to loop until condition ...       Perl: what value do variables hold un...       Perl: function tests to see if a var...       Perl: how do you access an element in...       What happens when you access an eleme...       Perl: shortcut to grab the index of t...       Perl: what is the effect of using neg...       What is the Perl syntax for a list li...       Perl: Syntax to create a list of num...       Perl syntax for a easy way to enter a...       Perl: when using qw (quote word) shor...       Perl: when using qw how do you includ...       Perl: how do you assign a list of val...       Perl: syntax to refer to an entire ar...       Perl operators to add new item to end...       Perl: operators to add and remove ite...       Perl: what happens when you interpola...       Perl: syntax for looping through the ...       Perl: What variable receives the val...       Perl: operator that returns the value...       Perl: operator that returns a sorted ...       Perl: operator to force a list into s...       Perl: how can you read <STDIN> ...       Standard Perl way of reading in all t...      
What's new | About Us | Privacy Policy | Copyright Policy | Contact Us

Copyright 2007-2008 YoYoBrain.com