Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: Inserting and Retrieving Data from a DBM File

Perl: Inserting and Retrieving Data from a DBM File
{filelink=14647}

#!/bin/perl
use AnyDBM_File;
use strict;
# Connect to DBM Data file
dbmopen(my %dbm, "c:/BD/Users.dbm", 0666);
# retrieving data from dbm file
my $val = $dbm{'name'};
print $val;
# inserting data to dbm file
$dbm{'name'} = 'Jhon';
 # deleting data from dbm file
delete $dbm{'name'};
# close the dbm
dbmclose %dbm;

Users who found this page were searching for:

  • perl sql output on gui
  • dbm produced using perl in python
  • perl dbi:DBM insert
  • java access to dbm files
  • c# insert data into dbm
  • perl dbm
  • perl dbm import

No comments yet.

Leave a Comment