in reply to quoted execution not working
Will tell you when things go wrong.my @out = `myprog`; die "error running myprog: $! $?" if $?;
Secondly, you're guessing that the problem is memory related. I'd recommend using top or vmstat to check the memory use while running the programs. I'd be very surprised if just useing a couple of modules will take up that much memory. If it does, you might have more luck requireing the modules after running myprog, if you can.
|
|---|