Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

News / Blogs

- Perl Buzz
- Perl Iron Man
- Perlsphere
- Planet Perl
- TPF news
- Use Perl

See also

- CPAN
- Perl.org
- Perl.com
- Perl 5 Wiki
- Perl Jobs
- Perl Mongers
- Perl Monks

Contact

- Site designed and maintained by Jon Allen (JJ)
- http://perl.jonallen.info

- View the project page and FAQs

# prototype

Perl 5 version 10.1 documentation
Go to top

# prototype

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage

- prototype FUNCTION

  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 a string starting with `CORE::` , the rest is taken as a name for Perl builtin. If the builtin is not overridable (such as `qw//`) or if its arguments cannot be adequately expressed by a prototype (such as `system`), prototype() returns `undef`, because the builtin does not really behave like a Perl function. Otherwise, the string describing the equivalent prototype is returned.

Recently read

Tools

- Preferences