Subject: | CHI In Taint Mode |
Is it possible to run CHI in taint mode?
njh@compaq:/tmp$ cat foo
#!/usr/bin/perl -wT
use CHI;
my $cache = CHI->new(driver => 'File',
root_dir => '/tmp',
on_set_error => 'warn',
on_get_error => 'warn',
namespace => $0
);
$cache->set('foo', 'bar');
njh@compaq:/tmp$ ./foo
error during cache set for namespace='./foo', key='foo', size=17, expires='never', cache='File': Insecure dependency in mkdir while running with -T switch at /usr/share/perl/5.14/File/Path.pm line 136.
at ./foo line 12.
njh@compaq:/tmp$