in reply to system subroutine is ignored

Create a batch file

rem start.bat program glomosim data.in
and if that works then try
system("start.bat")
poj

Replies are listed 'Best First'.
Re^2: system subroutine is ignored
by Njoud (Initiate) on Jun 29, 2013 at 17:24 UTC

    when I put the following as Mr.Poj said

    rem start.bat program glomosim data.in
    I get the following error : Can't locate object method "rem" via package start...

      Did you actually put that in a batch file (read your M$ manual) and then call the batch file from Perl, or did you merely try to insert it in the code you've shown?

      If you didn't program your executable by toggling in binary, it wasn't really programming!

      Remove the first line and try again.

      poj

        I write as you have written !

        glomosim data.in; system("start.in");
        I see it is incorrect to put them like this without "" inside any function or subrotine :/ !! I got the error : Can't locate object method "glomosim" via package "data"..