{ 'hashes', 'are', 'curly', 'ones' }
[ 'arrays', 'are', 'square' ]
( 'lists are round' )
my %foo; @foo{ 'hash', 'slices' } = ( 'use', 'curly braces' );
my @bar; @bar[ 1,2,3,4 ] = ( 'array', 'slices', 'use', 'square brackets' );
See also References quick reference
In reply to Re^3: Extract a small part of a long sentence using regular expressions
by Anonymous Monk
in thread Extract a small part of a long sentence using regular expressions
by swatzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |