prototype

prototype

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 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-

© 1993–2016 Larry Wall and others
Licensed under the GNU General Public License version 1 or later, or the Artistic License.
The Perl logo is a trademark of the Perl Foundation.
http://perldoc.perl.org/5.24.0/functions/prototype.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部