on windows, you might do it as
system qw[ cmd.exe /c ], $^X, '/path/to/foo.pl', ...;
cmd.exe creates the "terminal windows".
I hope that clears up what you have to do.
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] [d/l] |
Any idea how to do this on OS X?
| [reply] |
Exactly the same.
Pick a shell ($ENV{SHELL}), figure out how it takes its arguments, invoke
with system.
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] |
Of course this depends very much on what OS you are using but if, for instance you are using a Unix like operating system with X then you can run:
xterm -e yourprogram.pl
/J\ | [reply] [d/l] |