Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Venkatesh Babu Sira
September 7, 2004, 4:27 pm
rate this thread
Re: search & replace
> I want to replace basepath=" to basepath="$
> How can i achieve this.
> It would be pretty easy if there are no special characters.
You haven't given anywhere near enough information to help you. You
don't have any actual Perl variables, you haven't told us what method
you're using to determine what needs to be searched, nor what needs to
be the replacement.
Have you read the Posting Guidelines which are posted to this group
Regardless, I shall make use of the Psi::ReadMind module to determine
that you want to make use of the quotemeta function, which is usually
used by way of the \Q and \E escape sequences. You can read about at
perldoc -f quotemeta
- » How to run perl script in visually hidden manner on Win XP
- — Previous thread in » PERL Discussions