> Shouldn't that be just =$*IN ?

Times have changed and not anymore.

$ ./perl6 -e 'say =$*IN'
prefix:<=> has been superseeded by $handle.lines and $handle.get

$*IN.lines seems to work and yes I am hoping someone will fix the 
spelling of superseded in src/classes/IO.pir.

> 
> > $ ./perl6 -e 'say =<>' # doesn't work
> > -1
> 
> That is used as an example in S04, so it should work.
> 

I couldn't find <> as a Perl 6 IO example in S04 at this time.  It is 
mentioned as a Perl 5 IO example which is translated to the lines 
function consistent with the behavior above.

So I am not quite sure what =<> should be doing with list quoting but 
it may now be acceptable for it not to do IO.


Reply via email to