™.. attrs - Online Linux Manual PageSection : 3pm
Updated : 2009-07-03
Source : perl v5.10.1
Note : Perl Programmers Reference Guide

NAMEattrs − set/get attributes of a subroutine (deprecated)

SYNOPSIS​ sub foo { ​ use attrs qw(locked method); ​ ... ​ } ​ ​ @a = attrs::get(\&foo);

DESCRIPTIONNOTE: Use of this pragma is deprecated. Use the syntax ​ sub foo : locked method { } to declare attributes instead. See also attributes. This pragma lets you set and get attributes for subroutines. Setting attributes takes place at compile time; trying to set invalid attribute names causes a compile-time error. Calling ​\*(C`attrs::get\*(C'\fR on a subroutine reference or name returns its list of attribute names. Notice that \*(C`attrs::get\*(C'\fR is not exported. Valid attributes are as follows. method Indicates that the invoking subroutine is a method. locked Setting this attribute is only meaningful when the subroutine or method is to be called by multiple threads. When set on a method subroutine (i.e. one marked with the method attribute above), perl ensures that any invocation of it implicitly locks its first argument before execution. When set on a non-method subroutine, perl ensures that a lock is taken on the subroutine itself before execution. The semantics of the lock are exactly those of one explicitly taken with the \*(C`lock\*(C'\fR operator immediately after the subroutine is entered.
0
Johanes Gumabo
Data Size   :   4,580 byte
man-attrs.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 198,165
Visitor ID   :     :  
Visitor IP   :   18.191.205.110   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|attrs.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|attrs.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|attrs.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|attrs.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|attrs.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|attrs.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|attrs.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|attrs.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|attrs.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|attrs.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|attrs.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|attrs.3pm|157|\*(C`attrs::get\*(C'\fR on a subroutine reference or name returns its list |\&\f(CW\*(C`attrs::get\*(C'\fR on a subroutine reference or name returns its list )         (rof_escape_sequence|91|attrs.3pm|158|\*(C`attrs::get\*(C'\fR is not exported. |of attribute names. Notice that \f(CW\*(C`attrs::get\*(C'\fR is not exported. )         (rof_escape_sequence|91|attrs.3pm|172|\*(C`lock\*(C'\fR operator immediately after the |explicitly taken with the \f(CW\*(C`lock\*(C'\fR operator immediately after the )