libscalar-listify-perl 0.03-4 source package in Ubuntu

Changelog

libscalar-listify-perl (0.03-4) unstable; urgency=medium

  [ Debian Janitor ]
  * Apply multi-arch hints. + libscalar-listify-perl: Add Multi-Arch: foreign.

 -- Jelmer Vernooij <email address hidden>  Thu, 13 Oct 2022 18:37:11 +0100

Upload details

Uploaded by:
Debian Perl Group
Uploaded to:
Sid
Original maintainer:
Debian Perl Group
Architectures:
all
Section:
misc
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Oracular release universe misc
Noble release universe misc
Mantic release universe misc
Lunar release universe misc

Builds

Lunar: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
libscalar-listify-perl_0.03-4.dsc 2.1 KiB cfd55840c4e4d9abc4d2cdc63b2cabd7e9aebe224bdc3ce6858ee726550672d2
libscalar-listify-perl_0.03.orig.tar.gz 2.6 KiB 5e75bb6aee4893ed8bc5d782c9be1a379248f503a5fff214025682683308bec6
libscalar-listify-perl_0.03-4.debian.tar.xz 2.2 KiB 419a5c87ecfa670ccf0cb68253f948ac004a7a2eca3d6001a7f162329153780a

Available diffs

No changes file available.

Binary packages built by this source

libscalar-listify-perl: module that produces an array/arrayref from a scalar value or array ref

 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;