Oct 31, 2008, 8:09 AM
Post #1 of 2
I'm very new to perl and I'm trying to write a script that runs a simulation. The shell command to run the simulation is 'mp' followed by the input filename. My perl program looks like:
when I run this nothing happens. However, if I replace $filein with the explicit name of the input file then the program works fine. Why doesn't it work when the first argument is a a variable?
system 'nohup mp $filein &';