debian man page for sub::prototype

Query: sub::prototype

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Sub::Prototype(3pm)					User Contributed Perl Documentation				       Sub::Prototype(3pm)

NAME
Sub::Prototype - Set a subs prototype
SYNOPSIS
use Sub::Prototype; BEGIN { my $code = sub { ... }; set_prototype($code, '&@'); *main::my_func = $code; } my_func { ... } @list;
FUNCTIONS
This module only has one function, which is also exported by default: set_prototype(&coderef, $prototype) set_prototype(&some_function, '$$'); Sets the prototype for "coderef" to $prototype.
THANKS
Shawn M Moore for the idea and tests.
AUTHOR
Florian Ragwitz <rafl@debian.org>
COPYRIGHT AND LICENSE
Copyright (c) 2008 Florian Ragwitz This module is free software. It may distribute it under the same terms as perl itself. perl v5.14.2 2008-11-11 Sub::Prototype(3pm)
Related Man Pages
moosex::declare::context::parameterized(3pm) - mojave
moosex::declare::syntax::methoddeclaration5.18(3pm) - mojave
html::prototype::helper::tag(3pm) - debian
io::handle::prototype::fallback(3pm) - debian
jifty::manual::jquerymigrationguide(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
Weird 'find' results
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections