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. without being able to include any functional path in the filenames, i can't even call the script with a soft link...i have to use a shell script to cd first

that is ridiculous and i presume a bug that may have been fixed somewhere?

perl 5.8.8 on fedora 7

Put these two lines at the top of your program:

use warnings;
use strict;

And perl will tell you that you are concatenating two barewords.

email.db is tranlated by perl as 'email' . 'db' and there is no "dot" in the concatenation of those two strings.



John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to