From 13c7c8e9c8f8b5c583ca5563161e177b1a133e5e Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 1 Nov 2015 03:48:47 +0100 Subject: [PATCH] termcol: fix cell description fallback of index 0 --- termcol.plp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termcol.plp b/termcol.plp index 60afba6..189b89c 100644 --- a/termcol.plp +++ b/termcol.plp @@ -32,7 +32,7 @@ use Shiar_Sheet::Colour '1.03'; use List::Util qw( min max ); sub colcell { - my $name = shift or return "\n"; + my $name = shift // return "\n"; my $col = Shiar_Sheet::Colour->new(@_); my $minhex = $col->rgb24; my $css = '#' . $col->rgb48; -- 2.30.0