On Thu, Jun 12, 2008 at 5:28 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi there, > > I am stuck with something here. > What does the following piece of code mean? > > my @temp1; > my @temp2; > $cnt=0; > $temp2[$cnt] = [EMAIL PROTECTED]; > > What is the kind of data stored in $tempFieldNames[$information] ? >
Hi, [EMAIL PROTECTED] means creating an anonymous array. This anonymous's elements are the ones of @temp1. An anonymous array is a scalar, this scalar is assigned to $temp2[$cnt]. -- Jeff Peng - [EMAIL PROTECTED] Professional Squid supports in China http://www.ChinaSquid.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/