cygwin, gdbm and perl

Charles Wilson cwilson@ece.gatech.edu
Wed Jan 10 17:52:00 GMT 2001


Yes, but is the *perl* package, GDBM_File:: installed? (or NDBM_File::
or ODBM_File::  -- whatever, I forgot the name).  Also, if you search
the archives over the past two weeks, you'll find a very detailed
explanation (from me) concerning difficulties with gdbm/ndbm and perl
and FAT partitions.

--Chuck


Jerome BENOIT wrote:
> 
> Bonjour:
> 
> I have just try the following perl script
> under the latest Cygwin:
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> #! /usr/bin/perl
> 
> my %array;
> unless(eval {dbmopen(%array,'DBMtest',0755)}) {
>   my $err = $@ || 'dbmopen failed';
>   print ("Error: Perl reported DBM error.\n");
>   exit 1;
> }
> else {
>   #JCL: we do not need to write sth into it, if Perl lacks DBM we
>   # detected it with dbmopen before...
>   dbmclose(%array);
>   print ('yes');}
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> 
> and I got the Error Message:
> since `gdbm' is installed,
> I guess that may work.
> 
> Any idea,
> Thanks in advance.
> 
> Jerome BENOIT
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list