summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-08-09 13:41:28 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-08-09 13:41:28 +0000
commita8cb5b9ec57a11eba446747575d2e00c99109ebe (patch)
tree4796ada4852877b7302346f684963331fd0f6b10 /pod
parenta0e97681e3dce1bd7507ced1852eba3f825dab38 (diff)
downloadperl-a8cb5b9ec57a11eba446747575d2e00c99109ebe.tar.gz
Add an idea by Hugo
p4raw-id: //depot/perl@31695
Diffstat (limited to 'pod')
-rw-r--r--pod/perltodo.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index c63820ba20..b58ad8f95d 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -550,6 +550,12 @@ program if you pass the process ID. It would be good to do this with the Perl
debugger on a running Perl program, although I'm not sure how it would be
done." ssh and screen do this with named pipes in /tmp. Maybe we can too.
+=head2 Optimize away empty destructors
+
+Defining an empty DESTROY method might be useful (notably in
+AUTOLOAD-enabled classes), but it's still a bit expensive to call. That
+could probably be optimized.
+
=head2 LVALUE functions for lists
The old perltodo notes that lvalue functions don't work for list or hash