Name : perl-TERN-it
| |
Version : 0.01
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.7.1
| Date : 2024-07-03 19:07:59
|
Group : Development/Libraries/Perl
| Source RPM : perl-TERN-it-0.01-lp156.7.1.src.rpm
|
Size : 0.00 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl extension for easing nonautovivifying aggregate accesses
|
Description :
$TERN::it is a reserved variable that holds the object of the most recent C< exists> or < defined> operation. The point of this is to allow descent into complex data structures without autovivifying the empty upper layers and also without repeating all the upper descent steps. This is a small speed win. This is how TERN will handle descent into compex, nested containers.
C< it> this subroutine accesses the current value of it.
C< exists_it> this subroutine takes two arguments, the first a hash and the second a key. If we had prototype-based dispatch, there could be two versions be used with an array or a hash and Perl would figure out which to call but we don\'t.
C< exists_itA> exists_itA AATTfish, 7 # the same as exists $fish[7] but sets C< it>
C< exists_itH> an alias to exists_it, for symmetry with exists_itA
C< defined_it> defined_it($something) # the same as defined(${$TERN::it = \\$something})
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch |