Re: define an array in perl

2007-07-31 Thread Paul Lalli
On Jul 31, 6:59 am, [EMAIL PROTECTED] (Jeniffer) wrote: > sorry for the stupid question,,,please help me out What was wrong with the answers you got when you asked the same question in comp.lang.perl.misc? http://groups.google.com/group/comp.lang.perl.misc/browse_frm/thread/163983d0954e06af/

Re: define an array in perl

2007-07-31 Thread Chas Owens
On 7/31/07, jeniffer <[EMAIL PROTECTED]> wrote: > Hi > I am a newbie in perl. I have an array block_list : > > push ( @block_list ,$word); # this word is read from a file. > $list_name = $block_list[$#block_list]; # i extract the last element > ie $word in this case > now i want to define an arra

define an array in perl

2007-07-31 Thread jeniffer
Hi I am a newbie in perl. I have an array block_list : push ( @block_list ,$word); # this word is read from a file. $list_name = $block_list[$#block_list]; # i extract the last element ie $word in this case now i want to define an array with the name $list_name like , my @"$list_name"; But th