perl-Method-Signatures

Method and Function Declarations with Signatures and No Source Filter

Provides two new keywords, 'func' and 'method', so that you can write subroutines with signatures instead of having to spell out 'my $self = shift; my($thing) = @_' 'func' is like 'sub' but takes a signature where the prototype would normally go. This takes the place of 'my($foo, $bar) = @_' and does a whole lot more. 'method' is like 'func' but specifically for making methods. It will automatically provide the invocant as '$self' (by default). No more 'my $self = shift'.

沒有可用的 openSUSE Leap 15.5 官方套件

發行版

openSUSE Tumbleweed

openSUSE Leap 15.5

openSUSE Leap 15.4

SUSE SLE-15-SP1

不支援的發行版本

下列發行版本並未被官方支援。使用這些套件需要自行承擔風險。