in reply to sorting return from

What's your question...
  • How to connect to the database?
  • How to submit a SQL statement to the database?
  • How to write a while loop to traverse over the elements of the hashref? (Check the perldoc for that)

    ???

    Celebrate Intellectual Diversity

  • Replies are listed 'Best First'.
    Re^2: sorting return from
    by Anonymous Monk on Sep 02, 2005 at 21:43 UTC
      Sorry
      Title should be, "sorting return from fetchrow_hashref"
      OK, I'm connecting to the database fine and I am getting back the right data into the hash ref because I've checked it using print Dumper $hashrow;
      Now I need to know how to use the hash ref, to print out the data in a formatted sense using a foreach loop.
      thanks.