diff options
author | Stephen McCamant <smcc@mit.edu> | 2003-07-27 10:07:46 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-28 04:56:48 +0000 |
commit | 429a5ce7398d47be4197dc655076a6fb2a8dc641 (patch) | |
tree | 7da55163cbb172ac46884c0b9175a916c779fa0d /ext/B/B.pm | |
parent | d10dc2ae49cc86b60fcfeb2fbd54ff9f07d3ccc3 (diff) | |
download | perl-429a5ce7398d47be4197dc655076a6fb2a8dc641.tar.gz |
B enhancements
Message-ID: <16164.5362.577992.841787@syllepsis.MIT.EDU>
p4raw-id: //depot/perl@20253
Diffstat (limited to 'ext/B/B.pm')
-rw-r--r-- | ext/B/B.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/B/B.pm b/ext/B/B.pm index b1a68b9cf1..85b88fc592 100644 --- a/ext/B/B.pm +++ b/ext/B/B.pm @@ -570,6 +570,14 @@ C<REFCNT> (corresponding to the C function C<SvREFCNT>). =item FLAGS +=item object_2svref + +Returns a reference to the regular scalar corresponding to this +B::SV object. In other words, this method is the inverse operation +to the svref_2object() subroutine. This scalar and other data it points +at should be considered read-only: modifying them is neither safe nor +guaranteed to have a sensible effect. + =back =head2 B::IV Methods @@ -820,6 +828,11 @@ IoIFP($io) == PerlIO_stdin() ). =item ARRAY +=item ARRAYelt + +Like C<ARRAY>, but takes an index as an argument to get only one element, +rather than a list of all of them. + =item AvFLAGS =back |