|
From: dave on 17 Apr 2008 12:06 I've the following perl : my @Table = ([],[],[],[]); push ( @Table, 'text1', 'test2', 'text3','text4'); foreach my $next (@Table)) {
From: RedGrittyBrick on 17 Apr 2008 12:15 dave wrote: > I've the following perl : > > my @Table = ([],[],[],[]); > > push ( @Table, 'text1', 'test2', 'text3','text4'); > > foreach my $next (@Table)) > { > Nuke it from orbit. -- RGB
From: Sherman Pendley on 17 Apr 2008 13:43 dave <davewu922(a)gmail.com> writes: > I've the following perl : > > my @Table = ([],[],[],[]); > > push ( @Table, 'text1', 'test2', 'text3','text4'); > > foreach my $next (@Table)) > { And your question is... ? sherm-- -- My blog: http://shermspace.blogspot.com Cocoa programming in Perl: http://camelbones.sourceforge.net
From: Jim Gibson on 17 Apr 2008 15:35 In article <9426ddef-01bb-43bb-a62f-db50560fc5fb(a)f63g2000hsf.googlegroups.com>, dave <davewu922(a)gmail.com> wrote: > I've the following perl : > > my @Table = ([],[],[],[]); > > push ( @Table, 'text1', 'test2', 'text3','text4'); > > foreach my $next (@Table)) > { That is not a valid Perl program, so I can't tell what it is you are trying to do, or under what circumstances you are getting the error message in your subject line. I suggest you use Data::Dumper to see what you have in @Table: use Data::Dumper; print Dumper(\@Table); It might be illuminating. Please read the guidelines for this group and try to adhere to them. Thanks. -- Jim Gibson Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- http://www.usenet.com
|
Pages: 1 Prev: How to print question Next: Trouble initializing multidimensional array |