Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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 :)

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 grasshoppers chirp...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2018-02-25 04:23 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (312 votes). Check out past polls.