Hello - I am very frustrated - after quite a while I can't get my ActivePerl
to work on anything in windows. Say I want to find the word Good and change
it to Bad in the file MyFile.asc
I try:
C:\changeIt.pl -e "s/Good/Bad/" MyFile.asc
Then open MyFile.asc and nothing happens - then I try this:
# this is a script to clean
open(IN,"fileToClean.asc") || die "can't open!";
while(<IN>) {
s/Good/Bad/;
print;
}
On the screen I can see that this is working, but when I open the file,
guess what? Nothing has changed! I tried a question on this same topic
awhile ago and everybody said that they got it to work in cgywin and unix
etc - I'll try again - can anybody figure out what I am doing wrong?
Thanks,
tim
windows perl just doesn't seem to work
Booher Timothy B 1stLt AFRL/MNAC Tue, 12 Feb 2002 15:49:39 -0800
- RE: windows perl just doesn't seem to wor... Booher Timothy B 1stLt AFRL/MNAC
- RE: windows perl just doesn't seem t... Timothy Johnson
- Re: windows perl just doesn't seem t... Dennis G. Wicks
- RE: windows perl just doesn't seem t... Jason Larson
