I dunno what's going on, but maybe it's perl or maybe it's my system.
I'm not sure.
Anyway, I recently reformatted my hard drive and installed Red Hat Linux
v3.0.3 w/ kernel 1.2.13 ... it has both perl5.001 and perl4.036.
So after untarring my webspace, I've noticed a few oddities, most of
which I've narrowed down to my programming errors. But one remains that
well ... remains a mystery. ;)
Here's a line that's part of it...
$GooberFile = $DBDir . "/" . $tempfile;
&debug( "GooberFile = $GooberFile\n" );
And in my debug log, I get:
And if I do this:
&debug( "GooberFile = " );
&debug( $GooberFile );
&debug( "\n" );
I get this:
GooberFile = /usr/local/etc/httpd/htdocs/Fishnet/Forum/Advice/data/temppost11
Weird, huh? It's like the string scalars aren't working like they
should. It gets even weirder:
I then use $GooberFile (was running out of fav. var. names) to open a file.
open( ASDF, ">$GooberFile" );
print ASDF "<NAME=\"$input{'from'}\">\n";
print ASDF "<EMAIL=\"$email\">\n";
print ASDF "<DATE=\"$time\">\n";
print ASDF "$input{'text'}\n";
close( ASDF );
It opens that file, but doesn't print anything.
I've tried perl4 and perl5 ... same result. So I dunno what could be
happening. I'm thinking of grabbing perl5.002 and installing that for
the system ... but maybe it's the system itself.
I ran fsck (disk doctor) and the disk is ok.
I'm going insane and I dunno what could be happening. I know perl isn't
supposed to be doing this ...
Please help ..
Thanks in advance!
--
---------------------------------------------------------------------
University of NC - Chapel Hill WebGuru
Math Sci - Comp Sci Senior Mac Phreak (sig.v4)
New Voice Mail - (919) 248-6234