The only character that's not allowed in linux (file and) directory names is "/".
'\' is a syntax error, since the \ is escaping the '. '\\' would be the correct way of creating a string consisting of a single backslash.
In reply to Re: checking for reserved characters
by ikegami
in thread checking for reserved characters
by Real Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |