--- Smylers <[EMAIL PROTECTED]> wrote:
> Using C<:w> and C<:r> would at least match what C<:w> and C<:r> do in
> 'Vi' ...

That seems intuitive:

  my $fh = open 'foo.txt', :w;
  $fh.say "Hello, world!";

  $fh = open 'foo.txt', :e;    # Ha, ha, just kidding!

  $fh.say <<<-EOF
    If wifey shuns
      Your fond embrace
    Don't kill the mailman:
      Feel your face!
    Burma Shave
  EOF

  $fh.close :q!;    # Tricked again.
  $fh = open :n;    # Opens next file from argv?


=Austin

Reply via email to