Result for 150F5F70E753EC57F63FA76A61E32165E367696D

Query result

Key Value
FileName./usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Class/XSAccessor/XSAccessor.so
FileSize63848
MD5615B74145E3B048AA6E8D8B3A52051F2
SHA-1150F5F70E753EC57F63FA76A61E32165E367696D
SHA-256A09AB6EE7ADE083CD1B4C501786451CC06C27585BB11C2DD5F54F5CCB0BDFBB5
SSDEEP768:/sZSbdcNbVpkiwpRZ1W/WacrqAIrqZhRpY74vJjKqQC4m7/bz/3a:/sZ4iEZk/WaXMJupZm7/b
TLSHT1C7530757F15208FFC46683340AABD922A5717DA0D331322B044AF7BD1ED3EBC9B16A52
hashlookup:parent-total1
hashlookup:trust55

Network graph view

Parents (Total: 1)

The searched file hash is included in 1 parent files which include package known and seen by metalookup. A sample is included below:

Key Value
MD5CE4EA62A7F5B6ABD52C84474F5607438
PackageArchx86_64
PackageDescriptionClass::XSAccessor implements fast read, write and read/write accessors in XS. Additionally, it can provide predicates such as 'has_foo()' for testing whether the attribute 'foo' exists in the object (which is different from "is defined within the object"). It only works with objects that are implemented as ordinary hashes. the Class::XSAccessor::Array manpage implements the same interface for objects that use arrays for their internal representation. Since version 0.10, the module can also generate simple constructors (implemented in XS). Simply supply the 'constructor => 'constructor_name'' option or the 'constructors => ['new', 'create', 'spawn']' option. These constructors do the equivalent of the following Perl code: sub new { my $class = shift; return bless { @_ }, ref($class)||$class; } That means they can be called on objects and classes but will not clone objects entirely. Parameters to 'new()' are added to the object. The XS accessor methods are between 3 and 4 times faster than typical pure-Perl accessors in some simple benchmarking. The lower factor applies to the potentially slightly obscure 'sub set_foo_pp {$_[0]->{foo} = $_[1]}', so if you usually write clear code, a factor of 3.5 speed-up is a good estimate. If in doubt, do your own benchmarking! The method names may be fully qualified. The example in the synopsis could have been written as 'MyClass::get_foo' instead of 'get_foo'. This way, methods can be installed in classes other than the current class. See also: the 'class' option below. By default, the setters return the new value that was set, and the accessors (mutators) do the same. This behaviour can be changed with the 'chained' option - see below. The predicates return a boolean. Since version 1.01, 'Class::XSAccessor' can generate extremely simple methods which just return true or false (and always do so). If that seems like a really superfluous thing to you, then consider a large class hierarchy with interfaces such as the PPI manpage. These methods are provided by the 'true' and 'false' options - see the synopsis. 'defined_predicates' check whether a given object attribute is defined. 'predicates' is an alias for 'defined_predicates' for compatibility with older versions of 'Class::XSAccessor'. 'exists_predicates' checks whether the given attribute exists in the object using 'exists'.
PackageNameperl-Class-XSAccessor
PackageReleaselp151.22.1
PackageVersion1.19
SHA-119E085E63C29904148E3FA51EE9177CDEA8D7926
SHA-256E6583892F7907BB3CB4F482901EBE7BBD82CC9EEFF44C92CB86A18A6C53C8084