aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/WebCoso/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/WebCoso/Config.pm b/lib/WebCoso/Config.pm
index ab62179..ebc3c75 100644
--- a/lib/WebCoso/Config.pm
+++ b/lib/WebCoso/Config.pm
@@ -108,7 +108,7 @@ sub res {
for my $filename (@abs_source_files) {
$resource->set_property(
{filename=>$filename},
- datastream => _open_file($filename),
+ datastream => sub{_open_file($filename)},
);
}