Re: DBD::DBM and hashrefs



On Fri, 14 Oct 2005 11:41:45 -0700, jeff wrote:

>I believe you can specify hash storage by passing the appropriate DBM flags
>when you do DBI->connect(). Use the flags your DBM implementation expects and
>pass them as specified in the DBD::DBM docs.

I have been over the docs several times, as well as the source code,
and am knee-deep in writing a patch (on the offhand suggestion of Tim
Bunce on the Class::DBI list).

If DBD::DBM supports hashrefs as values the same way it supports
arrayrefs as values, I am _really_ missing something.

Needless to say, I saw no such flags. If they exist I would love to
see them, so I can chuck this patch.

RT
.



Relevant Pages

  • Re: [PATCH] - support inheritance of mlocks across fork/exec V2
    ... [vmas' VM_LOCKED flags for fork() and mm's def_flags ... Jeff Sharkey at Montana State developed a similar patch for Linux ... unsigned int token_priority; ...
    (Linux-Kernel)
  • Re: [RFC][PATCHSET] mremap/mmap mess
    ... the shm bug caught by dwg - in case of hugepage shm we ended up with ... I wondered why you don't pass the appropriate filp and pgoff here? ... and do_brkdisagree on whether they're MAP_ flags or VM_ flags ... and just stick to the pgoff fix here for this patch. ...
    (Linux-Kernel)
  • Re: [PATCH] reintroduce accept4
    ... in question I think there is no reason to quarantine the patch first. ... Introduce a new accept4() system call. ... except that it adds a flags bit-mask argument. ... int status = 0; ...
    (Linux-Kernel)
  • [RFC 1/1] Char: mxser_new, fix recursive locking
    ... patch attached - I am not able to reproduce the lockup with this patch. ... determine whether the lock should be re-aquired or not. ... before calling all involved mxser_ routines. ... unsigned long flags; ...
    (Linux-Kernel)
  • [RFC] [PATCH] Per-mountpoint read-only and noatime revisited
    ... macro that makes use of the new flags. ... to the IS_* macro call are changed to pass the struct vfsmount* ... Furthermore, this patch adds the new functionality as new mount flags, ...
    (Linux-Kernel)