On Sat, 02 Dec 2017 20:41:05 -0800, alex.jakime...@gmail.com wrote:
> Isn't it implemented as :update now?
> https://docs.perl6.org/routine/open

Yes, :update is it. Tests: 
https://github.com/perl6/roast/blob/master/S32-io/open.t#L68-L92

> 
> Or maybe you can even use :mode<r+>? (the documentation says that it
> will make
> the universe implode, but perhaps it's worth a try?)

But what about the Universe!!!

(it'll fail with `Unknown mode 'r+'`)

 
> On 2015-05-13 02:11:06, masak wrote:
> > <cygx> so, how do I open a file in update mode (fopen "r+", perl5
> > open
> > "+<")?
> > <masak> cygx: what's missing that you need? preferably expressed as a
> > call to open()
> > <cygx> I need to do an fopen("file", "r+")
> > <cygx> preferably witout going through nativecall ;)
> > * masak submits rakudobug

Reply via email to