Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
can someone help me how to print out the array , thank youmy @rows; foreach $Old_URL (@Old_URL) { chomp $Old_URL; @rows = ED::database->execute_query("select new_url from convertedUR +L where old_url = 'http://www.ed.gov/PressReleases/01-20 03/index.html'"); $rowcount = @rows; } print "\n"; foreach $row (%rows) { print keys($row); } print "\n"; print "\n";
edited: Mon May 12 13:34:19 2003 by jeffa - code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: help on hashes
by dragonchild (Archbishop) on May 12, 2003 at 13:46 UTC | |
|
Re: help on hashes
by George_Sherston (Vicar) on May 12, 2003 at 14:44 UTC | |
|
Re: help on hashes
by zby (Vicar) on May 12, 2003 at 13:48 UTC | |
by edoc (Chaplain) on May 12, 2003 at 14:06 UTC | |
by Anonymous Monk on May 12, 2003 at 14:46 UTC | |
by edoc (Chaplain) on May 13, 2003 at 00:29 UTC |