[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Constants as array refs



On Thu, Mar 23, 2000 at 03:17:11PM -0500, Steve Lane wrote:
> Ronald J Kimball wrote:
> > >   use constant CARRAY => [1, 2, 3, 4];
> > 
> > >   foreach (( CARRAY ))
> > 
> > foreach ('CARRAY')
> 
> on perl 5.005_03, this is still foreach ([1, 2, 3, 4]):

Er, yes, what was I thinking on that one?  Beats me.

Ronald


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe