> Please look at the definition and initialization of the hash. It is a hash
> of array references, isn't it? Why does
> $HoA{"flintstone"}[0] work, why is not it: $HoA{"flintstone"}->[0]
>
perldoc perlref
Section: Using References
Paragraph 3
$array[$x]->{"foo"}->[0]
Hi John Doe, you wrote :
*snip*
To learn perl, you have to spend hours and hours studying books/docs/examples,
thinking, trying etc.
Depends on your own individual learning style. Some folk would breeze
through the perldocs. Personally, I feel that they read like stereo
instructions. I've
Greetings:
I am continuing to read the Camel Book. I am reading about complex data
structrures. On page 276, there is an example of a HoA. (I am typing from
memory so this may not be exactly correct)
$HoA{"flintstone"}[0] = "fred";
Please look at the definition and initialization of the hash.
Hello,
I need to implement some database access in my code, and my knowledge of
databases is pretty basic (mostly MySQL ans flat un-indexed tables). Can
somebody point me to advanced tutorials on database independent code? For
example I can't find a way to tell what methods from DBI and family can
On Thu, May 26, 2005 at 02:26:29PM +0300, Offer Kaye wrote:
> On 5/26/05, Peter Rabbitson <[EMAIL PROTECTED]> wrote:
> > Is this:
> >
> > my $path = [File::Spec->splitpath (File::Spec->rel2abs ($0))]->[1];
> >
> > the only OS independent (unix/win32) way to determine the absolute path of
> > the
Ing. Branislav Gerzo wrote:
Hi all,
I get data from DB with:
while (my ($id, $post_text) = $getpost->fetchrow_array) {
is there a way how much columns are selected wihout select (fetch)
them all, or using count(*) function ?
In the general case, no.
DBI provides the rows() method:
my $row
Hi all,
I get data from DB with:
while (my ($id, $post_text) = $getpost->fetchrow_array) {
is there a way how much columns are selected wihout select (fetch)
them all, or using count(*) function ?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT