Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#5 compile error running DEEsv.pl

open
nobody
None
5
2005-05-10
2005-05-10
Anonymous
No

Am running DEEsv.pl on Windows 2000 server and get
the following errors:

syntax error at c:\program files\cscopx\bin\DEEsv.pl line
36, near "use CRM."
syntax error at c:\program files\cscopx\bin\DEEsv.pl line
40, near "}"
Execution of c:\program files\cscopx\bin\DEEsv.pl
aborted due to compilation err
ors.

I don't have much experience in PERL, but looked at the
script although nothing jumped out at me.

Here are lines 35 - 44:

if ($^O eq "MSWin32") {
use CRM.pm;
$PS = "\\";
$TMPDIR = $ENV{'PX_TMPDIR'};
$NMSROOT = $ENV{'NMSROOT'};
} else {
$ENV{'PATH'} = '/bin:/usr/bin';
($TMPDIR) = ($ENV{'PX_TMPDIR'} =~ /(^[\/\w+\/?]
+$)/);
($NMSROOT) = ($ENV{'NMSROOT'} =~ /(^[\/
\w+\/?]+$)/);
}

Am using perl version 5.005_02 built for MSWin32-x86.

If anyone can review this code and let me know if you
see any syntax errors, I'd appreciate it.

Thanks,
Doug Michels
dmichels@us.ibm.com

Discussion