Posted: Sat 05 May 2012, 06:01 Post_subject:
How can I use DBM with Puppy Perl? Sub_title: 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;
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum