From: Jarkko Hietaniemi Date: Fri, 1 Dec 2006 22:05:17 +0000 (+0200) Subject: perltodo.pod: add perlio todos/thinkabouts X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=749904bf2195f9729fc311a9dd49d33ae8ecad02;p=p5sagit%2Fp5-mst-13.2.git perltodo.pod: add perlio todos/thinkabouts Message-Id: <200612012005.kB1K5Hn3448004@kosh.hut.fi> p4raw-id: //depot/perl@29435 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index 026f2f6..8626f2a 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -501,6 +501,21 @@ adding the C check to Go through the core and look for similar assumptions that SVs have particular types, as all bets are off during global destruction. +=head2 Extend PerlIO and PerlIO::Scalar + +PerlIO::Scalar doesn't know how to truncate(). Implementing this +would require extending the PerlIO vtable. + +Similarly the PerlIO vtable doesn't know about formats (write()), or +about stat(), or chmod()/chown(), utime(), or flock(). + +(For PerlIO::Scalar it's hard to see what e.g. mode bits or ownership +would mean.) + +PerlIO doesn't do directories or symlinks, either: mkdir(), rmdir(), +opendir(), closedir(), seekdir(), rewinddir(), glob(); symlink(), +readlink(). + =head1 Tasks that need a knowledge of the interpreter These tasks would need C knowledge, and knowledge of how the interpreter works,