Name : perl-Acme-Eatemup
| |
Version : 0.02
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 16:36:56
|
Group : Development/Libraries/Perl
| Source RPM : perl-Acme-Eatemup-0.02-lp154.1.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : List Chopper
|
Description :
Have you ever needed all but the last two items of a list? Have you ever been annoyed that Perl\'s \'(...)[...]\' list slice has no way for you to specify that without knowing the number of items? Then this module is for you. Before, you would have to write:
my AATTtmp = foo(); print AATTtmp[0..$#tmp-2]; # ugly
Or:
my AATTtmp = foo(); pop AATTtmp, pop AATTtmp; # or splice AATTtmp, -2 print AATTtmp; # THREE lines!
With this module, you can simply eat them off the list:
use Acme::Eatemup; print foo(), yumyum, eatemup;
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/15.4/x86_64 |