Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: doubts of a perl beginner in G_EVAL(perlEmbed)by educated_foo (Vicar) |
on Dec 26, 2005 at 09:35 UTC ( [id://519090]=note: print w/replies, xml ) | Need Help?? |
Admittedly your friend's code is ill-mannered, but if it's UNIX, could you just use fork(2) and either wait(2) or waitpid(2), putting the G_EVAL in the child process? (I think StartProcess could be similarly applied on Windows, but have never tried.)
In Section
Seekers of Perl Wisdom
|
|