Check out perlref, perllol and especially perldsc for information about references and the ways you can use them.my $result = db_execute($SQL)->[0]; my ($title, $body) = @{$result}; # or my ($title, $body) = @{db_execute($SQL)->[0]};
In reply to Re: Re: Weird DBI/Array Use
by Fastolfe
in thread Weird DBI/Array Use
by madhatter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |