mmaz
Programmer
- Nov 22, 2000
- 347
Hi there,
Please look at the code below:
#!/usr/bin/perl
#use CGI::Carp qw(fatalsToBrowser);
use strict;
BEGIN {
use Cwd;
}
BEGIN {
my $directory = cwd;
unshift @INC,$directory;
unshift @INC,".";
}
use BAC::Common::Modules::Common;
use BAC::CommunityMembers::Modules::Login;
$BAC:
ROGRAM_NAME = "login.cgi";
&BAC::CommunityMembers::Modules::Login::Init();
1- Why do I get an internal server error when I comment the last two lines?
2- How can I print Cwd?
Thanks,
Marie
Please look at the code below:
#!/usr/bin/perl
#use CGI::Carp qw(fatalsToBrowser);
use strict;
BEGIN {
use Cwd;
}
BEGIN {
my $directory = cwd;
unshift @INC,$directory;
unshift @INC,".";
}
use BAC::Common::Modules::Common;
use BAC::CommunityMembers::Modules::Login;
$BAC:
&BAC::CommunityMembers::Modules::Login::Init();
1- Why do I get an internal server error when I comment the last two lines?
2- How can I print Cwd?
Thanks,
Marie