diff options
author | dakkar <dakkar@thenautilus.net> | 2015-09-05 16:02:34 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2015-09-05 16:02:34 +0100 |
commit | d2490ddef6e002dbc30ab5dcd14d751b64f82ad4 (patch) | |
tree | 553eba56dceca433e5fd69a06e4a983efd0f7821 /lib/WebCoso.pm | |
parent | test passes (diff) | |
download | WebCoso-p6-d2490ddef6e002dbc30ab5dcd14d751b64f82ad4.tar.gz WebCoso-p6-d2490ddef6e002dbc30ab5dcd14d751b64f82ad4.tar.bz2 WebCoso-p6-d2490ddef6e002dbc30ab5dcd14d751b64f82ad4.zip |
more tests
Diffstat (limited to 'lib/WebCoso.pm')
-rw-r--r-- | lib/WebCoso.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/WebCoso.pm b/lib/WebCoso.pm index 46db3c0..5fe9a07 100644 --- a/lib/WebCoso.pm +++ b/lib/WebCoso.pm @@ -30,7 +30,9 @@ class WebCoso { } method put-file($dir,$basename,$lang,$ext,$contents) { - $!tmpdir.child($dir).child("{$basename}.{$lang}.{$ext}").spurt($contents); + my $t = $!tmpdir.child($dir); + $t.mkdir; + $t.child("{$basename}.{$lang}.{$ext}").spurt($contents); return; } |