Quattor::Filetools¶
NAME¶
Test::Quattor::Filetools - Read/write files (in case mocked FileWriter/Reader cannot be used).
Functions¶
- writefile
Create file with namefn(and parent directory if needed). Optional second argument is the content of the file (default is textok(no newline)).
- readfile
Read the content of filefnand return it.