in reply to Rename old files that do not begin with a dot
'$_, !~ /^\./' is a string that is always true. You could use parenthesis instead of the single quotes, if you took out the comma (why is the comma there?). But since you're matching against the $_ variable, you could replace the whole thing with !/^\./