- or download this
m/.../ returns true or false in scalar context
m/.../g give you a list of matches in list context
m/(...)/ can populate an array with whatever gets captured... (??)
- or download this
while( ) i.e. inside parenthesis is evaluated in scalar context?
foreach( ) i.e. inside parenthesis is evaluated in list context?
- or download this
<STDIN> returns the next line of input in list context