The tests wrote to ./samples directory. This prevent from runnig the
tests from a read-only location:
$ perl t/bars.t
1..1
Error: File "samples/bars.png" could not be created!
at t/bars.t line 47.
This patch fixes it by using an in-core File::Temp module to create
a temporary directory. The module smart enough to locate a writable
place and to clean up when exiting.
The tests wrote to ./samples directory. This prevent from runnig the tests from a read-only location:
This patch fixes it by using an in-core File::Temp module to create a temporary directory. The module smart enough to locate a writable place and to clean up when exiting.