Result for D3B05830E4FD046EC3FF3E5EF8ACD970863B85DC

Query result

Key Value
FileName./usr/share/man/man3/asa.3pm.gz
FileSize3573
MD597A062A7A5E37C7020A126159C78F2A2
SHA-1D3B05830E4FD046EC3FF3E5EF8ACD970863B85DC
SHA-256A37FB4C12F720642E1C29DA5B6A864DBA43A7366F3312188A6A1D2000ABE2404
SSDEEP96:JcUz3qrvOB3RoFLVMywRT2umNBzSgqndd:aU7EvOB3Rygx7mNBzSgA
TLSHT1B3719E515740CBF3C833175DB203CAF806F313654BAFB52104164AB1A4B865D1D3F8A8
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
MD52EF33E2D40BF233F1BDCFC745ED8DBE3
PackageArchnoarch
PackageDescriptionPerl 5 doesn't natively support Java-style interfaces, and it doesn't support Perl 6 style roles either. You can get both of these things in half a dozen different ways via various CPAN modules, but they usually require that you buy into "their way" of implementing your code. Other have turned to "duck typing". This is, for the most part, a fairly naive check that says "can you do this method", under the "if it looks like a duck, and quacks like a duck, then it must be a duck". It assumes that if you have a '->quack' method, then they will treat you as a duck, because doing things like adding 'Duck' to your '@ISA' array means you are also forced to take their implementation. There is, of course, a better way. For better or worse, Perl's '->isa' functionality to determine if something is or is not a particular class/object is defined as a *method*, not a function, and so that means that as well as adding something to you '@ISA' array, so that Perl's 'UNIVERSAL::isa' method can work with it, you are also allowed to simply overload your own 'isa' method and answer directly whether or not you are something. The simplest form of the idiom looks like this. sub isa { return 1 if $_[1] eq 'Duck'; shift->SUPER::isa(@_); } This reads "Check my type as normal, but if anyone wants to know if I'm a duck, then tell them yes". Now, there are a few people that have argued that this is "lying" about your class, but this argument is based on the idea that '@ISA' is somehow more "real" than using the method directly. It also assumes that what you advertise you implement needs to be in sync with the method resolution for any given function. But in the best and cleanest implementation of code, the API is orthogonal (although most often related) to the implementation. And although '@ISA' is about implementation *and* API, overloading 'isa' to let you change your API is not at all bad when seen in this light.
PackageNameperl-asa
PackageRelease1.24
PackageVersion1.04
SHA-14557E2946676A13C6FA83071E9017EBB366C7FC7
SHA-256E17DEFB58485BAA2E9F68D3A858722D8A4DAF6EBDB14512455D04F159D7420AA