Re: Replacement problem
From: Gunnar Hjalmarsson (noreply_at_gunnar.cc)
Date: 03/02/05
- Next message: Tino: "Drag and drop"
- Previous message: John: "Accessing SMB share on Mac OSX for file copy"
- In reply to: prasanna bhat mavinkuli: "Replacement problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 02 Mar 2005 16:11:12 +0100
prasanna bhat mavinkuli wrote:
> In my code i just want to create a source directory structure in
> a target directory. I am finding all the subdirectories in the
> source directory and creating it in the target directory during run
> time. And i am failing to do so because directory name
> contains(+,- etc). So its a metacharacter problem.
You probably want \Q. See "perldoc perlre".
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
- Next message: Tino: "Drag and drop"
- Previous message: John: "Accessing SMB share on Mac OSX for file copy"
- In reply to: prasanna bhat mavinkuli: "Replacement problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|