So wd you recommend, say, having a function that "sandwiches" each file operation between a pair of
chdirs? I do quite a lot of reading and writing, but I also pick up a lot of files (templates and so on). At the moment I keep all the auxiliary files in the same dir as the script and refer to them by name only, no explicit path.
/me scratches head and wonders whether I shd use explicit file paths for *everything* I refer to from my script. Wd that be considered good practice?
§
George Sherston