Grimy has asked for the wisdom of the Perl Monks concerning the following question:

Howdy Monks,

I was toying around with Rakudo, and it looks like system and exec don't exist anymore.

exec '/bin/echo', 'Hello world!';

yields "Could not find sub &exec in main program body at line 1:test"

I couldn't manage to find any documentation on this topic. What's the proper syntax for a system call in Perl6? Is it even implemented in Rakudo?

Thanks in advance :)

Replies are listed 'Best First'.
Re: system in Perl6?
by chromatic (Archbishop) on Sep 10, 2011 at 20:30 UTC
      Thanks a lot! It looks like what I looked for, I'll try it as soon as possible.
Re: system in Perl6?
by moritz (Cardinal) on Sep 11, 2011 at 08:39 UTC