in reply to Re^2: Extract a small part of a long sentence using regular expressions
in thread Extract a small part of a long sentence using regular expressions
{ '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
|
|---|