Name : perl-Tie-Sub
| |
Version : 1.001
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 6.67
| Date : 2024-08-05 20:34:27
|
Group : Development/Libraries/Perl
| Source RPM : perl-Tie-Sub-1.001-6.67.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : Tying a subroutine, function or method to a hash
|
Description :
Subroutines don\'t have interpreted into strings. The module ties a subroutine to a hash. The subroutine is executed at fetch hash. At long last this is the same, only the notation is shorter.
Alternative to
\" ... ${\\ subroutine(\'abc\') } ... \" \" ... AATT{[ subroutine(\'abc\') ]} ... \" \'...\' . subroutine(\'abc\') . \'...\'
write
\" ... $subroutine{abc} ... \"
Sometimes the subroutine expects more than 1 parameter. Then submit a reference on an array as \'hash key\'. The tied subroutine will get the parameters always as list.
Use any reference to give back more then 1 return value. The caller get back this reference. There is no way to return a list.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/openSUSE_Tumbleweed/noarch |