Port details on branch 2022Q3 |
- p5-Scalar-Listify Poduces an array(ref)? from a scalar value or array ref
- 0.03_1 devel =1 0.03_1Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2007-02-16 10:30:02
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: p5-Tie-EncryptedHash, p5-type1inst, font-misc-meltho, p5-Net-Domain-TLD
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Scalar-Listify
- Description:
- A lot of Perl code ends up with scalars having either a single scalar value
or a reference to an array of scalar values. In order to handle the two
conditions, one must check for what is in the scalar value before getting on
with one's task. Ie:
$text_scalar = 'text';
$aref_scalar = [ 1.. 5 ];
print ref($text_scalar) ? (join ':', @$text_scalar) : $text_scalar;
And this module is designed to address just that!
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Scalar-Listify>0:devel/p5-Scalar-Listify
- To install the port:
- cd /usr/ports/devel/p5-Scalar-Listify/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Scalar-Listify
- pkg install p5-Scalar-Listify
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Scalar-Listify
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Scalar-Listify-0.03.tar.gz) = 5e75bb6aee4893ed8bc5d782c9be1a379248f503a5fff214025682683308bec6
SIZE (Scalar-Listify-0.03.tar.gz) = 2650
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- www/p5-HTML-Element-Library
- for Run
-
- www/p5-HTML-Element-Library
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Scalar-Listify
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|