From d03d611f3dd49549200b266ff84b70bd7a69ba4f Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 8 Jul 2014 10:39:24 +0300 Subject: [PATCH] Fix recursive first_part --- lib/App/EdwardNG.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/EdwardNG.pm b/lib/App/EdwardNG.pm index 8343b47..f6b54a4 100644 --- a/lib/App/EdwardNG.pm +++ b/lib/App/EdwardNG.pm @@ -33,7 +33,7 @@ sub mg { sub first_part{ my ($ent) = @_; - return first_part $ent->parts(0) if $ent->parts; + return first_part ($ent->parts(0)) if $ent->parts; stringify [$ent->bodyhandle->as_lines] } -- 2.30.2