in reply to Re: Found a Perl hole
in thread Found a Perl hole

Just a few comments

@types[++$#types] = chr $temp;

this can be written:

push(@types, chr $temp);

@types is an array. So @types[2] is an array slice with one item. Perhaps you're trying to access the third element of the array? In which case you would access that item using $types[2]


"Look, Shiny Things!" is not a better business strategy than compatibility and reuse.