Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Do you know where your variables are?
 
PerlMonks  

system in Perl6?

by Grimy (Monk)
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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-04-19 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls