The error message suggests to me that $filename is empty. Maybe you need to initialize it from a different place in your configuration?
Does uploading work if you hardcode the value for $filename instead of using the configuration?
In reply to Re: write_file to_json in Dancer app
by Corion
in thread write_file to_json in Dancer app
by GertMT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |