My apologies if this is redundant. I didn't get the exact anwser that I was looking for from the older posts. This is what I want:
use strict;
our $HOMEPATH = "$ENV{'DOCUMENT_ROOT'}";
require 'conf.pl';
make some use of $CGIBINDIR;
inside of conf.pl:
$CGIBINDIR = $HOMEPATH . "/cgi-bin";
This works fine without use strict; using strict gives me this error: Global symbol "$CGIBINDIR" requires explicit package name.
If this can't be done, I'd be more than willing to listen to some alternatives to accomplish the same thing regardless of the complexity. I'm just starting the website and want to get use strict working now before it's completely unstrictable.
Thanks,
Marty
use strict;
our $HOMEPATH = "$ENV{'DOCUMENT_ROOT'}";
require 'conf.pl';
make some use of $CGIBINDIR;
inside of conf.pl:
$CGIBINDIR = $HOMEPATH . "/cgi-bin";
This works fine without use strict; using strict gives me this error: Global symbol "$CGIBINDIR" requires explicit package name.
If this can't be done, I'd be more than willing to listen to some alternatives to accomplish the same thing regardless of the complexity. I'm just starting the website and want to get use strict working now before it's completely unstrictable.
Thanks,
Marty