[Chicago-talk] Using "@" to reference element in array
me at heyjay.com
Thu Oct 1 14:42:09 PDT 2009
I just got a script at work where the writer used:
my @array = qw[adf af a adf asdfd];
And it works!!
I thought that notation didn't go into effect until Perl6.
I've always done $array, and never tried the style above. Is there any
reason not to adopt the style above in future Perl5 programming?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chicago-talk