homepage Welcome to WebmasterWorld Guest from 54.226.173.169
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
need to write a script to change from webtest to www
scripting
fiuOY




msg:439945
 9:45 pm on Mar 30, 2006 (gmt 0)

Hello,

I have an application that moves my webpages from a test environment to a production environment, but before it does that I need a script that I can run to change all instances of webTest for www inside .shtml pages.

How can I achieve this? I don't know $h..t about scripting.

Pearl, or vb script would be fine? Any pointers would be greatly appreciated.

 

perl_diver




msg:439946
 1:38 am on Mar 31, 2006 (gmt 0)

see if this page will help you with a perl solution:

[perl.com...]

fiuOY




msg:439947
 2:57 pm on Mar 31, 2006 (gmt 0)

Chinese my man...Chinese!

Do you know of an application or something that I can define the script and then export it?

Thanks

SeanW




msg:439948
 5:18 pm on Mar 31, 2006 (gmt 0)


Chinese my man...Chinese!

I opened the link that perl_diver posted, and the first example will do exactly what you want. If you're not going to invest the time in reading through the article and understanding it, maybe you should either hire someone or do it by hand.

Sean

fiuOY




msg:439949
 6:41 pm on Mar 31, 2006 (gmt 0)

I frankly didn't even realize there were full examples there. I thought it was just lines of code explained. I guess I'll read it in more detail.

Thank you for your help

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved