in reply to Perl's Bad Ideas

maverick was the one who introduced me to that syntax back at my first job with him. That particular syntax gets even hairier when trying to get the the last index number from an anonymous data structure. In fact, it borks the otherwise robust vim sytax highlighting:

#!/usr/bin/perl -lw

use strict;

my $thingy = {
    array => [qw(foo bar baz)],
};

# am i a comment or code?
print $#{$thingy->{array}};

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)