hi
i have a script like this:
#!/usr/bin/perl
open (MOO, "loo");
while (<MOO>)
{
s/moo/foo/g;
}
what i'm trying to do is to replace all the moos in a
file called loo in the same directory where the script
is. when i run it i don't get any errors but there is
no results eather. in the loo - which is only a text
file like this:
moo
moo
moo
nothing happans. nothing's getting changed...
why?
thanks
_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- RE: Simple question Peter Cornelius
- RE: Simple question Paul
- Fw: Simple Question Steven Scott
- Re: Fw: Simple Question Brett W. McCoy
- Re: Fw: Simple Question Paul Johnson
- Simple Question dhopp
- Re: Simple Question Paul
- simple question Ryan Kane
- Re: simple question Robert Citek
- Re: simple question Ryan Kane
- Re: simple question Dissdennon Stupolsky
- Re: simple question Randal L. Schwartz
- Simple question Daniel Falkenberg
- RE: Simple question Sidharth Malhotra
- RE: Simple question Jeff 'japhy' Pinyan
- Re: Simple question Ahmed Moustafa Ibrahim Ahmed
- Re: Simple question Ahmed Moustafa Ibrahim Ahmed
- Re: Simple question Jim Conner
- Re: Simple question Jim Conner
