Name : perl-Syntax-Feature-Qwa
| |
Version : 0.002
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 18:10:01
|
Group : Development/Libraries/Perl
| Source RPM : perl-Syntax-Feature-Qwa-0.002-lp154.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : qwa(), qwh() and qwk() quote-like operators to create arrayrefs and hashrefs
|
Description :
Perl\'s word list operator (\'qw()\') is really nice. It allows you to build simple lists without needing much punctuation. But it\'s quite common to see it wrapped by additional punctuation in the form of:
my $array = [qw(foo bar baz)];
It would be quite nice to have a version of the word list operator which returned an arrayref instead of a list. That\'s where this module comes in. It provides a \"word list arrayref\" operator:
my $array = qwa(foo bar baz);
It also provides companion \"word list hashref\" and \"word list hashref keys\" operators.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-S/15.4/noarch |