This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlfunc: (caller)[9] is ${^WARNING_BITS}
authorFather Chrysostomos <sprout@cpan.org>
Sun, 24 Jun 2012 01:29:03 +0000 (18:29 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 24 Jun 2012 07:11:42 +0000 (00:11 -0700)
commit1adb05cd11a15cd5a64c8642648d985290404adc
tree44e583f269f4be3a52f32929476840e1597256d2
parent100c03aac5095ceefd0a78fa21d9293c2439ef2f
perlfunc: (caller)[9] is ${^WARNING_BITS}

Technically, (caller)[9] returns ${^WARNING_BITS} if defined, or, if
${^WARNING_BITS} is not defined, whatever ‘use warnings’ or ‘no
warnings’ would set ${^WARNING_BITS} to, depending on the value of
$^W.  But that is subject to change, and is a bit of a mouthful.
pod/perlfunc.pod