Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Getting table dimensions

by trammell (Priest)
on Jun 20, 2005 at 14:18 UTC ( [id://468364]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://468364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found