Im finding it hard to help as you dont provide data for us!
What does this print?
use Data::Dumper;
my $ref = $dbh->selectall_arrayref("select * from users")
|| die $dbh->errstr;
print Dumper($ref);
This is not a Signature...
| [reply] [d/l] |
Dear Helpers:
Dumper prints:
$VAR1 = [ 'Dr. John Bool', 'john.bull@yahoo.com' ];
What is the method to bond $Name='Dr. John Bool' and $Email='john.bull@yahoo.com' from $VAR1?
Thank you,
sOKOle
| [reply] |
Essentaillay, you have the answer,
my ($Name,$Email) = @{$ref};
print "My name is : $Name\n";
print "My email is : $Email\n";
If this works ok in a terminal, and you still have problems, then you have problems with your html , and not your perl.
This is not a Signature...
| [reply] [d/l] |