in reply to MySQL hashes with same key
Your code and comments are confusing. If you want to obtain comments for a known mac address, why dont you use the database to do the appropriate query:
Also, Using fetchrow_arrayref instead of fetchrow_hashref will not make any difference to the resulting rows, as you seem to think it might."select comment from arp.filter where operation = 'filter' AND MAC='$mac_t'"
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest." -Confucius
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: MySQL hashes with same key
by mje (Curate) on Nov 16, 2012 at 09:12 UTC | |
by NetWallah (Canon) on Nov 16, 2012 at 16:19 UTC | |
by jcrush (Acolyte) on Nov 20, 2012 at 15:24 UTC | |
by Anonymous Monk on Nov 16, 2012 at 12:49 UTC | |
Re^2: MySQL hashes with same key
by jcrush (Acolyte) on Nov 16, 2012 at 15:34 UTC |
In Section
Seekers of Perl Wisdom