Query: sub::current
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Sub::Current(3pm) User Contributed Perl Documentation Sub::Current(3pm)NAMESub::Current - Get the current subroutineSYNOPSISuse Sub::Current; sub f { # ... if ($some_condition) { # let's recurse! ROUTINE->(); } # ... }DESCRIPTIONSub::Current makes available a function "ROUTINE()", that returns a code reference pointing at the currently executing subroutine. In a special block (BEGIN, END, CHECK, INIT, and UNITCHECK in Perl 5.10) this function will return undef. Outside of a special block (that is, at the top level of a program) "ROUTINE()" will return undef as well.COPYRIGHT(c) Copyright 2007 by Rafael Garcia-Suarez. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2007-07-04 Sub::Current(3pm)
Related Man Pages |
---|
ppi::statement::scheduled(3) - mojave |
ppi::statement::scheduled(3) - osx |
email::send::io(3pm) - debian |
ppi::statement::scheduled(3pm) - debian |
ppi::statement::sub(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
Is UNIX an open source OS ? |
Detecting unused variables... |
Find columns in a file based on header and print to new file |
Weird 'find' results |