how to find how many items are in a reference?
- From: Tomasz Chmielewski <tch@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 13:23:17 +0100
How can I find how many items are there in a reference?
Let's say we first make:
my $data = $db->selectall_arrayref("SELECT * FROM table");
Now, I can access any data with:
print $$hardware[X][Y];
How can I find the maximum element for X, Y?
--
Tomasz Chmielewski
http://wpkg.org
.
- Follow-Ups:
- Re: how to find how many items are in a reference?
- From: Bill Smith
- Re: how to find how many items are in a reference?
- From: John W. Krahn
- Re: how to find how many items are in a reference?
- From: Jürgen Exner
- Re: how to find how many items are in a reference?
- Prev by Date: Re: Problems with STDIN and POST data
- Next by Date: Re: Problems with STDIN and POST data
- Previous by thread: www::mechanize for windows 2k using ActiveState Perl v 5.8.0
- Next by thread: Re: how to find how many items are in a reference?
- Index(es):