in reply to Re: Doesn't like a Scalar, as a folder pathin thread Doesn't like a Scalar, as a folder path
This is such a common error case that Perl even outputs a warning for it if you let it. Put use warnings; at the top of your program to tell Perl that you want it to tell you about common programming errors that it can recognize.