cygwin, gdbm and perl

Jerome BENOIT JGMBenoit@Wanadoo.fr
Wed Jan 10 17:08:00 GMT 2001


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



More information about the Cygwin mailing list