{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Poduces an array(ref)? from a scalar value or array ref","compare":null,"dependentCount":null,"description":"A lot of Perl code ends up with scalars having either a single scalar value\nor a reference to an array of scalar values. In order to handle the two\nconditions, one must check for what is in the scalar value before getting on\nwith one's task. Ie:\n\n  $text_scalar = 'text';\n  $aref_scalar = [ 1.. 5 ];\n\n  print ref($text_scalar) ? (join ':', @$text_scalar) : $text_scalar;\n\nAnd this module is designed to address just that!","flavors":[],"html":"https://daemonports.org/dragonfly/devel/p5-Scalar-Listify/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"perl@FreeBSD.org","name":"p5-Scalar-Listify","newest":true,"newestVersion":"0.03","noVulnData":false,"origin":"devel/p5-Scalar-Listify","otherSystems":[{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-Scalar-Listify","path":"/devel/p5-Scalar-Listify/","system":"FreeBSD","version":"0.03_1"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Scalar-Listify","path":"","system":"HardenedBSD","version":"0.03_1"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Scalar-Listify","path":"","system":"GhostBSD","version":"0.03_1"}],"packages":null,"pkgName":"p5-Scalar-Listify-0.03_1","related":null,"repository":"DPorts","requiredBy":["www/p5-HTML-Element-Library"],"requiredByCount":1,"runDepends":["lang/perl5.36"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.03_1","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Scalar-Listify"}
