On Mon, 09 Jan 2006, Spencer_Lists wrote:
> I am trying to create an array with all of the files in a folder so
> that I can do various things with them. I have no problem unless the
> path contains space characters such as "documents and settings" I have
> written TK applications that use dirtree and I can access paths with
> spaces as long as I wrap the path in quotes. This does not work with
> simple perl scripts, Any suggestions as to how to access the files in
> paths with spaces in the names?
>
> @files = <$path/*>;

Did you try:

    @files = <"$path/*">;

Cheers,
-Jan



_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to