Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) Iterate a block prematurelyStart this loop iteration over ... (Berikutnya)
Keywords related to control flow of your perl program

Get the prototype (if any) of a subroutine

Daftar Isi

  • prototype FUNCTION

    Returns the prototype of a function as a string (or undef if thefunction 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 aname for a Perl builtin. If the builtin is not overridable (such asqw//) or if its arguments cannot be adequately expressed by a prototype(such as system), prototype() returns undef, because the builtindoes not really behave like a Perl function. Otherwise, the stringdescribing the equivalent prototype is returned.

 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) Iterate a block prematurelyStart this loop iteration over ... (Berikutnya)