Re: file.db VS filedb

2008-01-29 Thread Jenda Krynicky
From: Gunnar Hjalmarsson <[EMAIL PROTECTED]> > Jenda Krynicky wrote: > > The next problem is that > > use DB_File; > > and > >dbmopen ... > > are not related at all. > > Why not? If you read "perldoc dbmopen", you even find an example call of > dbmopen() preceeded by "use DB_File". H,

Re: file.db VS filedb

2008-01-28 Thread Gunnar Hjalmarsson
MK wrote: you know gunnar i would swear on my mothers grave that i tried using both "" and '' in this and it still would not work, otherwise i really really really would not have cried wolf...but in all honesty it does work now, so there's egg on my face Okay... ;-) however, my connection of

Re: file.db VS filedb

2008-01-28 Thread MK
you know gunnar i would swear on my mothers grave that i tried using both "" and '' in this and it still would not work, otherwise i really really really would not have cried wolf...but in all honesty it does work now, so there's egg on my face however, my connection of "dbmopen" with "DB_F

Re: file.db VS filedb

2008-01-28 Thread Gunnar Hjalmarsson
Gunnar Hjalmarsson wrote: Why not? If you read "perldoc dbmopen", ... I meant "perldoc -f dbmopen". -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: file.db VS filedb

2008-01-28 Thread Gunnar Hjalmarsson
Jenda Krynicky wrote: The next problem is that use DB_File; and dbmopen ... are not related at all. Why not? If you read "perldoc dbmopen", you even find an example call of dbmopen() preceeded by "use DB_File". -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To

Re: file.db VS filedb

2008-01-28 Thread Gunnar Hjalmarsson
MK wrote: when i "use DB_File" the files produced lack a dot in their title, eg. dbmopen %email, email.db, 0666; manipulates a file who's directory entry is actually emaildb Please enable strictures and warnings!! $ cat test.pl #!/usr/bin/perl use strict; use warnings; use DB_File; dbmopen m

Re: file.db VS filedb

2008-01-28 Thread Jenda Krynicky
From: MK <[EMAIL PROTECTED]> > when i "use DB_File" the files produced lack a dot in their title, eg. > > dbmopen %email, email.db, 0666; > > manipulates a file who's directory entry is actually emaildb If you do use strict; use warnings; as you should it does not. It reports an error. A

Re: file.db VS filedb

2008-01-28 Thread John W. Krahn
MK wrote: when i "use DB_File" the files produced lack a dot in their title, eg. dbmopen %email, email.db, 0666; manipulates a file who's directory entry is actually emaildb MORE IMPORTANTLY, perl will not access a database outside of the same directory as the script -- it pulls a blank hash.

file.db VS filedb

2008-01-28 Thread MK
when i "use DB_File" the files produced lack a dot in their title, eg. dbmopen %email, email.db, 0666; manipulates a file who's directory entry is actually emaildb MORE IMPORTANTLY, perl will not access a database outside of the same directory as the script -- it pulls a blank hash. without