The stupid question is the question not asked | |
PerlMonks |
Re: Tie::File with absolute path of the fileby tangent (Parson) |
on Dec 05, 2017 at 01:22 UTC ( [id://1204911]=note: print w/replies, xml ) | Need Help?? |
In addition to what toolic has advised, you can test if your file is readable and writeable using -r and -w. In its default mode Tie::File tries to open the file in read/write mode so the file needs to be both readable and writeable.
If you only want to read the file you would use tie like this:
In Section
Seekers of Perl Wisdom
|
|