Hi,<br><br>I just got a script at work where the writer used:<br><br>my @array = qw[adf af a adf asdfd];<br>print @array[2];<br><br>And it works!!<br><br>I thought that notation didn't go into effect until Perl6.<br><br>
I've always done $array[2], and never tried the style above. Is there any reason not to adopt the style above in future Perl5 programming?<br><br>Thanks<br>Jay<br>