libscalar-listify-perl_0.03-1_all.deb


Advertisement

Description

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

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libscalar-listify-perl
Package version 0.03
Package release 1
Package architecture all
Package type deb
Installed size 47 B
Download size 5.67 KB
Official Mirror ftp.br.debian.org
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;

Alternatives

Package Version Architecture Repository
libscalar-listify-perl_0.03-1_all.deb 0.03 all Debian Main
libscalar-listify-perl - - -

Requires

Name Value
perl -

Download

Type URL
Binary Package libscalar-listify-perl_0.03-1_all.deb
Source Package libscalar-listify-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libscalar-listify-perl deb package:
    # sudo apt-get install libscalar-listify-perl

Files

Path
/usr/share/doc/libscalar-listify-perl/changelog.Debian.gz
/usr/share/doc/libscalar-listify-perl/changelog.gz
/usr/share/doc/libscalar-listify-perl/copyright
/usr/share/man/man3/Scalar::Listify.3pm.gz
/usr/share/perl5/Scalar/Listify.pm

Changelog

2014-02-09 - Radu-Bogdan Croitoru <croitoruradubogdan@gmail.com>
libscalar-listify-perl (0.03-1) unstable; urgency=low
* Initial Release (Closes: #731042)

See Also

Package Description
libscalar-properties-perl_0.13-1_all.deb perl module to add run-time properties on scalar variables
libscalar-string-perl_0.002-2+b2_amd64.deb Perl module concerning the string aspects of scalars
libscalar-util-numeric-perl_0.40-1_amd64.deb Perl module containing numeric tests for Perl datatypes
libscalc-dev_0.2.4-4_amd64.deb simple/symbolic calculation library (development files)
libscalc0_0.2.4-4_amd64.deb simple/symbolic calculation library
libscamperfile0-dev_20140122-1_amd64.deb development headers for scamper's binary dump file access library
libscamperfile0_20140122-1_amd64.deb file access library for scamper's binary dump format
libscannotation-java_1.0.2+svn20110812-2_all.deb Java annotation scanner
libschedule-at-perl_1.15-1_all.deb OS independent interface to the Unix 'at' command
libschedule-cron-perl_1.01-0.1_all.deb Simple but complete cron like scheduler
libschedule-ratelimiter-perl_0.01-1_all.deb Perl library to prevent events from happening too quickly
libschroedinger-1.0-0_1.0.11-2.1_amd64.deb library for encoding/decoding of Dirac video streams
libschroedinger-dev_1.0.11-2.1_amd64.deb library for encoding/decoding of Dirac video streams (development files)
libschroedinger-doc_1.0.11-2.1_all.deb library for encoding/decoding of Dirac video streams (documentation)
libschroedinger-ocaml-dev_0.1.0-3+b1_amd64.deb OCaml interface to the schroedinger library -- developpement files
Advertisement
Advertisement