On Jun 20, 1:39 am, philg...@yahoo.com (philge philip) wrote:
> hi
>
> can someone tell me how i can sort by keys from a hash (huge data) stored in 
> a DB_File?
>

You might try a merge-sort - check CPAN.

Another possibility: re-write the existing DB_File
to use a DB_Tree format which by default stores
its keys lexically but can accept a compare() sub
as well.


--
Charles DeRykus


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to