>
> my $aref = [
> - [ "fred", "barney", "pebbles", "bambam", "dino", ],
> - [ "homer", "bart", "marge", "maggie", ],
> - [ "george", "jane", "elroy", "judy", ],
> + [ 'fred', 'barney', 'pebbles', 'bambam', 'dino', ],
> + [ 'homer', 'bart', 'marge', 'maggie', ],
> + [ 'george', 'jane', 'elroy', 'judy', ],
> ];
I find this "don't use double quotes if you can get away with single
quotes" dogma that has cropped up recently quite infantile. Except
for personal preference, which usually doesn't go further than peoples
brains going into overload if they don't encounter a $ or @ between
double quotes, I've yet to see any serious argument why you should
commit time to stomping out double quotes.
Instead of spending many keystrokes in using different kinds of quotes,
why not change examples like this into showing techniques that *are*
useful?
my $aref = [
[qw /fred barney pebbles bambam dino/],
[qw /homer bart marge maggie/ ],
[qw /george jane elroy judy/ ],
];
Abigail