I've started writing a simple perl script for a web site so I can update it more quickly, but as I have a bit of a problem.
Here is what I have: #!c:/Perl/bin/perl print "Content-type: text/html\n\n"; $game = open (TEXT, "../htdocs/gameplow/game"); $index = open (TEXT, "../htdocs/gameplow/index"); $index =~ s/inpoint/$game/; print $barf; while ($index = <TEXT>) { foreach $line($index){ print $line } } close(TEXT); The problem is my search and replace does not work. I'm new to perl and I find the perlre syntax very confusing. I simply want to replace one word(a string) with a much bigger string! How are files accessed differently than regular strings? I don't receive an error though. It just doesn't replace the string... any help would be appreciated. Will Olbrys. E2-O: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]