summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-09-30 23:29:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-09-30 23:29:56 +0200
commit8a9f6b6272621df0afb3844de291966d7fef24e2 (patch)
tree5f5cf0882df0ae57283c920b9d43a56ed313574a
parent5945f06682ddb74b6c27f15221e5478e3be990a2 (diff)
efa-m: Fix array slicing
-rwxr-xr-xbin/efa-m2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa-m b/bin/efa-m
index 2d512c6..b96ecb8 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -89,7 +89,7 @@ sub display_result {
printf(
join( q{ },
"%${line_length[0]}s",
- ( map { "%-${_}s" } @line_length[ 1, -1 ] ) )
+ ( map { "%-${_}s" } @line_length[ 1 .. $#line_length ] ) )
. "\n",
@{$line}[ 0 .. 3 ]
);