Re: not sure if this is a beginners issue -- tie with DB_File

2001-04-18 Thread Peter Scott
At 02:16 PM 4/18/01 -0400, you wrote: >one more question -- yes, the db files WERE created on another machine, >but the "file" command shows them as being Berkeley DB format files, >correctly But I think I will go with trying to re-create... thanks for >the pointer. Then that's my prime su

Re: not sure if this is a beginners issue -- tie with DB_File

2001-04-18 Thread Peter Scott
At 12:43 PM 4/18/01 -0400, Kat wrote: >*sigh* > >I have changed the script to include -w, but not strict. Keep going :-) Trust me, once you get used to putting use strict in your programs you will wonder how you ever got along without it. > HOWEVER, if I change the error routine to a "die "m

Re: not sure if this is a beginners issue -- tie with DB_File

2001-04-18 Thread Kat
*sigh* I have changed the script to include -w, but not strict. HOWEVER, if I change the error routine to a "die "message $!" " I do not even get a STATUS??!?! It is blank. BUT, to make matters even more fun, if I DELETE the existing db file and then change the tie to include O_CREAT | O_

Re: not sure if this is a beginners issue -- tie with DB_File

2001-04-18 Thread Peter Scott
At 08:19 AM 4/18/01 -0400, Kat wrote: >Ok, I have exhausted all other options. This code used to work, and now, >no matter what I use for a path, I always get an error opening the file... >Does anyone see anything obvious here in this snippit?? Not related to not being able to open the databas

not sure if this is a beginners issue -- tie with DB_File

2001-04-18 Thread Kat
Ok, I have exhausted all other options. This code used to work, and now, no matter what I use for a path, I always get an error opening the file... Does anyone see anything obvious here in this snippit?? #!/usr/bin/perl #This script will return quiz responses to a browser. It reads from a qui