--- In firstname.lastname@example.org
> I have a .bat program with a part in perl.
> The problem is that I want to retreive an error message from the part
> in perl to create a file KO or OK in result
> perl code
> if not %RETURNCODE% == 0 goto FIN_KO;
> This line is not working!!!
> call %PERLDIR%\writeRetour.bat I013prequery0e D
> goto FIN
> call %PERLDIR%\writeRetour.bat I013prequery0e E
> Has someone got an idea ???
> Pascaline Bestry
Could you move the code you list into the perl section (and porting it
to perl obviously)?
You could use 'system()' to run the other batch file.
This method would mean you don't have to worry about interfacing
between the perl portion and the bat portion.