Is there a way to use test::simple to check if a file exists? I’m fairly new with perl and I read all of test::tutorial, simple. I’m assuming I need to make a sub in a module, but can I just add in regular perl code to check for a file? If so how do I call it from the testing file?
Sorry I have no code as I really don’t get this.
This should work
To see if the file is allowed to be read, written to, or executed we can use these instead of
-eabove:Using Test::Simple
OR