develooper Front page | perl.perl5.porters | Postings from September 2012

[perl #114350] SDBM_File DIRFEXT,PAGFEXT constants

Thread Previous
Father Chrysostomos via RT
September 3, 2012 21:44
[perl #114350] SDBM_File DIRFEXT,PAGFEXT constants
Message ID:
On Tue Jul 31 18:09:34 2012, kryde wrote:
> It'd good if SDBM_File made the DIRFEXT and PAGFEXT from sdbm.h
> available at the perl level.
> Usually they're just ".dir" and ".pag" but if the conditionals in
>    sdbm.h
> are believed then on VMS it's ".sdbm_dir" instead, which you want to
> know if copying etc sdbm database files.
> I thought perhaps constants,
>     SDBM_File::DIRFEXT()
>     SDBM_File::PAGFEXT()
> with EXPORT_OK in case someone wanted to import them for a lot of
> sdbm-specific work.
> I suppose constants could be used as class and/or tie-object methods
> too, if anyone wanted oopery, but if they're just constants at the C
> level then might as well just be constants in perl.

Can someone familiar with SDBM_File comment on this?


Father Chrysostomos

via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About