Re: Sort hash keys in C...
Tim Bunce <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, May 24, 2008 at 02:47:47PM +0100, Rudolf Lippan wrote: > On Mon, 19 May 2008 10:15:26 +0100, Tim Bunce <[email protected]> wrote: > > I changed the code to use a struct (although I just threw the declaration> in ). > It makes it cleaner and gets rid of the sv_2mortal'd copy of the keys. > > Whatever seems reasonable (and best for ShowErrorStatement usage). > > I went and had the wrapper unSVify the params and call _join_hash_sorted(). > This way there is no need to create a bunch of SVs that get thrown away. Looks great. Thanks again Rudy. If you like you, you could send me your perl.org (bitcard) userid and I'll get you write access to the repository. Otherwise I'll commit it myself. Let me know. Tim.