in reply to Re^4: search for exact word only
in thread search for exact word only

That's right, just adding use strict to the start of your program won't magically make it work. That wasn't what I (or the person who originally mentioned strict) was suggesting. It is a debugging aid, not a magic bullet. In your case it is telling you that certain variables have not been declared properly.


s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&

Replies are listed 'Best First'.
Re^6: search for exact word only
by Anonymous Monk on Sep 28, 2004 at 14:05 UTC
    Even if I shall correct all this variables, how this can will affect on search filtration of my program? I dont see there any communication. Just show example how to explicit the package name that demands this debugging notes.

      Sorry if you've misunderstood. When Grygonos suggested here to add use strict it was a general comment on writing good code. It won't affect your functionality - so if your code didn't work without strict, it won't suddenly start working with strict! But strict may help you find a problem such as a undefined variable, caused by a spelling mistake in an assignment or usage - or whatever.


      s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&