develooper Front page | perl.perl6.users | Postings from July 2011

Re: Bugs or PEBKAC?

Thread Previous
From:
Moritz Lenz
Date:
July 11, 2011 09:37
Subject:
Re: Bugs or PEBKAC?
Message ID:
4E1B26AB.6090109@faui2k3.org
Hallo,

On 07/11/2011 04:45 PM, Parrot Raiser wrote:
> I'm trying to write a small program in Perl 6, to generate an
> executable framework from a heredoc. (There are other ways of
> achieving the same effect, but it's an exercise.)

Heredocs are not yet implemented in Rakudo. Niezca supports them

> Problem #2. Setting the permissions on the new file.
> 
> Chmod or an equivalent, (e.g. system) doesn't appear to be in the
> synopses or the language. Is there somewhere else I should be looking?

Rakudo implements it as
$filename.IO.chmod(0o755)
(which doesn't seem to be the way it is specified, but I somehow don't
trust the specification in that area).

system() is now spelled run() (iirc it's in S29).

Cheers,
Moritz

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About