Sorting entries in a DBM hash by one of the variables
From: Topher (chris_at_mkttl.co.uk)
Date: 01/21/04
- Previous message: Paul Porcelli: "Need return code from perl -e command"
- Next in thread: Gunnar Hjalmarsson: "Re: Sorting entries in a DBM hash by one of the variables"
- Reply: Gunnar Hjalmarsson: "Re: Sorting entries in a DBM hash by one of the variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Jan 2004 05:52:45 -0800
Hi,
I have a slight problem in that I want to list all the entries in a
DBM file. I'm fine with sorting my the key, but I want to sort by one
of the variables in the value - I know how to do all of it with the
exception of specifying which variable is in the value: if the
key-value pair consists of the ID (the key) and a load of variables
concatenated with §, presumably at some point I will need to split
them - but then I don't know where and at which point I will need to
say 'sort by this and not this.' I have searched around and can't
find anything...
Hope this makes sense to someone... Thanks.
Chris
- Previous message: Paul Porcelli: "Need return code from perl -e command"
- Next in thread: Gunnar Hjalmarsson: "Re: Sorting entries in a DBM hash by one of the variables"
- Reply: Gunnar Hjalmarsson: "Re: Sorting entries in a DBM hash by one of the variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|