Change 29435 by [EMAIL PROTECTED] on 2006/12/02 09:10:01
Subject: [PATCH] perltodo.pod: add perlio todos/thinkabouts
From: Jarkko Hietaniemi <[EMAIL PROTECTED]>
Date: Fri, 1 Dec 2006 22:05:17 +0200 (EET)
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/pod/perltodo.pod#166 edit
Differences ...
==== //depot/perl/pod/perltodo.pod#166 (text) ====
Index: perl/pod/perltodo.pod
--- perl/pod/perltodo.pod#165~29358~ 2006-11-23 03:06:47.000000000 -0800
+++ perl/pod/perltodo.pod 2006-12-02 01:10:01.000000000 -0800
@@ -501,6 +501,21 @@
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,
End of Patch.