diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-05-18 19:39:42 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-05-18 19:39:42 +0000 |
commit | 0fc9dec4af933223b6a0a83a309bdf38c9babab6 (patch) | |
tree | 2d90c66c0a57cb0ad9ed90091259724f0ab68956 /pod/perlfunc.pod | |
parent | 0d658bf5a06395c253c09769a32f6face7d329cb (diff) | |
download | perl-0fc9dec4af933223b6a0a83a309bdf38c9babab6.tar.gz |
perlfunc and perldelta updates about caller().
p4raw-id: //depot/perl@16683
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 52de7fd324..d5873a4e5d 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -554,11 +554,13 @@ C<$is_require> are set: C<$is_require> is true if the frame is created by a C<require> or C<use> statement, $evaltext contains the text of the C<eval EXPR> statement. In particular, for an C<eval BLOCK> statement, $filename is C<(eval)>, but $evaltext is undefined. (Note also that -each C<use> statement creates a C<require> frame inside an C<eval EXPR>) -frame. C<$hasargs> is true if a new instance of C<@_> was set up for the -frame. C<$hints> and C<$bitmask> contain pragmatic hints that the caller -was compiled with. The C<$hints> and C<$bitmask> values are subject to -change between versions of Perl, and are not meant for external use. +each C<use> statement creates a C<require> frame inside an C<eval EXPR> +frame.) $subroutine may also be C<(unknown)> if this particular +subroutine happens to have been deleted from the symbol table. +C<$hasargs> is true if a new instance of C<@_> was set up for the frame. +C<$hints> and C<$bitmask> contain pragmatic hints that the caller was +compiled with. The C<$hints> and C<$bitmask> values are subject to change +between versions of Perl, and are not meant for external use. Furthermore, when called from within the DB package, caller returns more detailed information: it sets the list variable C<@DB::args> to be the |