Is it possible to return a value from a perl script, such as an integer, into a batch or cmd file?
I was thinking like this:
set RESULT=0
set COUNT=0
ascript.pl > %RESULT%
%COUNT% += %RESULT%
otherscript.pl > %RESULT%
%COUNT% += %RESULT%
Is it possible to return a value from a perl script, such as an integer, into a batch or cmd file?
I was thinking like this:
set RESULT=0
set COUNT=0
ascript.pl > %RESULT%
%COUNT% += %RESULT%
otherscript.pl > %RESULT%
%COUNT% += %RESULT%