Hello, My perl script is trying to compile some files and errors out if the compile failed. Precisely this is what I am doing:
some perl...
system (some compile command...)
if ($? != 0)
{
warn "Compile error...\n";
}
Some more perl...
This worked fine ona unix machine. I know for a fact that the files I am to compile are good, except maybe for a couple of them. Infact all the files compile ona Solaris machine (SYSTEM V UNIX release) But when I transfer the same perl script and the files to be compiled now on the windows NT machine, for every file I geta compile error. The perl scripts were modified to be compatible with NT. In the sense that the directory listing would be a\\b\\c.. instead of a/b/c.. as in unix. other than that there is not much to this script.
please advise
In reply to Does $? work in NT? by ginju
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |