CARVIEW |
- #prototype FUNCTION
- #prototype
-
Returns the prototype of a function as a string (or
undef
if the function has no prototype). FUNCTION is a reference to, or the name of, the function whose prototype you want to retrieve. If FUNCTION is omitted,$_
is used.If FUNCTION is a string starting with
CORE::
, the rest is taken as a name for a Perl builtin. If the builtin's arguments cannot be adequately expressed by a prototype (such assystem
),prototype
returnsundef
, because the builtin does not really behave like a Perl function. Otherwise, the string describing the equivalent prototype is returned.
Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via the GitHub issue tracker or email regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the Perl issue tracker, the mailing list, or IRC to report any issues with the contents or format of the documentation.