I wouldn’t attach an extra dependency to my code, no. I don’t know that I’m in your target audience though, as the only time I use bare string manipulations to work with paths is in oneliners, so I wouldn’t write my tests without File::Spec anyway.
Makeshifts last the longest.
In reply to Re: Portable filename comparison for test files
by Aristotle
in thread Portable filename comparison for test files
by xdg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |