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,
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
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
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/
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
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
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
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.
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