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

[perl #114350] SDBM_File DIRFEXT,PAGFEXT constants

Thread Previous
From:
Father Chrysostomos via RT
Date:
September 3, 2012 21:44
Subject:
[perl #114350] SDBM_File DIRFEXT,PAGFEXT constants
Message ID:
rt-3.6.HEAD-11172-1346733847-733.114350-15-0@perl.org
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
https://rt.perl.org:443/rt3/Ticket/Display.html?id=114350

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About