From c965c8bf6ec78123110ad0ad3ca623634f950814 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 11 Mar 2011 21:05:53 +0100 Subject: Use scalar context for File::Slurp --- fripost-adduser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fripost-adduser') diff --git a/fripost-adduser b/fripost-adduser index 86da15d..28141da 100755 --- a/fripost-adduser +++ b/fripost-adduser @@ -99,7 +99,7 @@ my $msg = MIME::Lite->new( From => 'admin@fripost.org', To => $user->{username}, Subject => 'Välkommen till Fripost!', - Data => slurp('templ/new_user_mail.tt'), # TODO: actually use TT + Data => scalar slurp('templ/new_user_mail.tt'), # TODO: actually use TT ); $msg->send(); -- cgit v1.2.3