Re: Simple Sort Keys Question from a Simpleton
From: Scott Bryce (sbryce_at_scottbryce.com)
Date: 03/17/04
- Next message: iain: "truncated data after INSERT with undef in DBI - bug?"
- Previous message: Brian McCauley: "Re: Retrieving text between 2 tags."
- Next in thread: John J. Trammell: "Re: Simple Sort Keys Question from a Simpleton"
- Maybe reply: John J. Trammell: "Re: Simple Sort Keys Question from a Simpleton"
- Maybe reply: Paul Lalli: "Re: Simple Sort Keys Question from a Simpleton"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 17 Mar 2004 10:58:29 -0700
Bumble wrote:
> Hey, been stuck on this for a good couple of hours now (LOL!), I've had it
> working before in a different program of mine
You are going to have to tell us what you mean by "working."
> foreach $key (sort(keys %totsales))
Besides other problems with this code, that others are sure to point
out, are you aware that you never assigned any values to %totsales? If
you iterate over an empty hash, there will be no keys and no values.
- Next message: iain: "truncated data after INSERT with undef in DBI - bug?"
- Previous message: Brian McCauley: "Re: Retrieving text between 2 tags."
- Next in thread: John J. Trammell: "Re: Simple Sort Keys Question from a Simpleton"
- Maybe reply: John J. Trammell: "Re: Simple Sort Keys Question from a Simpleton"
- Maybe reply: Paul Lalli: "Re: Simple Sort Keys Question from a Simpleton"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]