at elsif(-f $full) anything with a [ in the filename will truncate at the '[' and not register as a file. This is my problem I think, but I don't know how to tell perl to ignore that.
20041118 Edit by ysth: remove pre tags, add p and entify left brackets