On 31 Aug 2000 06:22:10 -0000, Perl6 RFC Librarian wrote:


>Perl should have a print operator

>Perl supplies an operator for line input - angle brackets.  This is no
>analogous operator for output.  I propose "inverse angle brackets":
>
>    >"Print this line.\n"<;

This is not symmetrical.

For input, the handle is marked as a source:

        $data = <STDIN>;

In order to be symmetrical, your ousput handle should look and act like
a sink:

        >STDOUT< = $data;

There. Now it's symmetrical.

I doubt if it has any advantage over print. But then OTOH we could just
replace <HANDLE> with readline(HANDLE). Same thing.

-- 
        Bart.

Reply via email to