Posted: Sat 05 May 2012, 06:01 Post subject:
How can I use DBM with Puppy Perl? Subject description: Puppy's Perl unsupported DBM...
Hello, I have needs to using DBM database with my Perl program under Puppy. I find that it's workedn't here. But under other Linux (non Puppy modeline) the Perl supports DBM 'in box'.
Under Pyppy (by slacko-531 or other distros) the Perl says:
Code:
No dbm on this machine...
Directive 'use DB_File' throw many lines for unresolved depending...
Environment and my attempts. I was googled it, but any suggestions worked not too. Shortly, I attempted manually using the ActivePerl components library, for adds any needs modules, but it resolved not too...
Any ideas?
UPD. So, for testing may use this symple perl-program:
Code:
#!/usr/bin/perl -w
use strict;
use DB_File;
%h=();
$_db = 'test';
dbmopen(%h, $_db, 0644) || die "Cannot open DBM: ".$_db." file\n";
sleep 2;
dbmclose(%h);
exit;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum