in reply to Getting table dimensions

You say:
my $tableDimensions = @$futureTable; my $numRows = $tableDimensions->[0];
Assuming that $futureTable is an arrayref, then $tableDimensions contains the number of elements in that array, an integer. So what do you expect to happen when you dereference an integer?

Replies are listed 'Best First'.
Re^2: Getting table dimensions
by steelrose (Scribe) on Jun 20, 2005 at 14:20 UTC
    I knew it was something silly I was overlooking. Thanks.

    If you give a man a fish he will eat for a day.
    If you teach a man to fish he will buy an ugly hat.
    If you talk about fish to a starving man, you're a consultant.