uninitialized value in multidimensional array
I've the following perl :
my [at] Table = ([],[],[],[]);
push ( [at] Table, 'text1', 'test2', 'text3','text4');
foreach my $next ( [at] Table))
{
Re: uninitialized value in multidimensional array
dave wrote:
> I've the following perl :
>
> my [at] Table = ([],[],[],[]);
>
> push ( [at] Table, 'text1', 'test2', 'text3','text4');
>
> foreach my $next ( [at] Table))
> {
>
Nuke it from orbit.
--
RGB
Re: uninitialized value in multidimensional array
dave <davewu922 [at] gmail.com> writes:
> I've the following perl :
>
> my [at] Table = ([],[],[],[]);
>
> push ( [at] Table, 'text1', 'test2', 'text3','text4');
>
> foreach my $next ( [at] Table))
> {
And your question is... ?
sherm--
--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Re: uninitialized value in multidimensional array
In article
<9426ddef-01bb-43bb-a62f-db50560fc5fb [at] f63g2000hsf.googlegroups.com>,
dave <davewu922 [at] gmail.com> wrote:
> I've the following perl :
>
> my [at] Table = ([],[],[],[]);
>
> push ( [at] Table, 'text1', 'test2', 'text3','text4');
>
> foreach my $next ( [at] 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 [at] Table:
use Data::Dumper;
print Dumper(\ [at] 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