Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

system in Perl6?

by Grimy (Pilgrim)
on Sep 10, 2011 at 19:30 UTC ( #925272=perlquestion: print w/ replies, xml ) Need Help??
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 :)

Comment on system in Perl6?
Select or Download Code
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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://925272]
Approved by chrestomanci
Front-paged by chrestomanci
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2015-11-26 07:55 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls