aboutsummaryrefslogtreecommitdiffstats
path: root/fripost-adduser
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-03-11 21:05:53 +0100
committerStefan Kangas <skangas@skangas.se>2011-03-11 21:05:53 +0100
commitc965c8bf6ec78123110ad0ad3ca623634f950814 (patch)
tree3a436e5d315196654aa09c658604a4730f7fe89f /fripost-adduser
parent815d0fba7abfcad9924820a35e6c3531a4fa6f70 (diff)
Use scalar context for File::Slurp
Diffstat (limited to 'fripost-adduser')
-rwxr-xr-xfripost-adduser2
1 files changed, 1 insertions, 1 deletions
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();