#!/usr/bin/perl -- use strict; use warnings; my $result = [ { b => 'small erection' } ]; print $result->[0]->{'b'}."\n"; print $result->[0]{b}."\n"; print "$$result[0]{b}\n"; print "$result->[0]{b}\n"; __END__ small erection small erection small erection small erection
In reply to Re^3: DBI and fetchall_arrayref
by Anonymous Monk
in thread DBI and fetchall_arrayref
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |