I'm working with Perl for the first time under OS X and having some difficulties. Some I've found answered in the archives, but ...
First, I don't seem to have mastered dumpValue. My call to it looks like this:


 @departments=  keys %all;
 sort @departments;
 dumpValue([EMAIL PROTECTED]);

@departments is not empty, but nothing is printed from dumpValue
Second, when I use the debugger (from within BBEDIT)
it refuses to open my datafile, even though the file is opened fine when not in debug mode. The message I get is



Can't open input file at /private/tmp/501/Cleanup At Startup/6634814 line 19. Debugged program terminated. Use q to quit or R to restart, use O inhibit_exit to avoid stopping after program termination, h q, h R or h O to get additional info. DB<1>

I'm accessing the file with a full pathname:

$WDir= "Volumes/Lore/AHSmaildirectory/";
$InputFile="TestData2.txt";
open(NAMEFILE,"<" . $WDir . $InputFile) || die "Can't open input file";

but I can't get to it within the debugger, as indicated.

Thanks in advance for any help.
--
-------------------------------------------------
Dennis P. Geller, Ph.D.
Humanist Minister/Humanistic Jewish Clergy




Reply via email to