in reply to Re: While loop and pattern match (was Re: need help)
in thread Using regular expressions on user input w/o while: unitialized value

thanks VSarkiss
  • Comment on Re: Re: While loop and pattern match (was Re: need help)

Replies are listed 'Best First'.
Re^3: While loop and pattern match (was Re: need help)
by Aristotle (Chancellor) on Jun 06, 2002 at 00:59 UTC
    Or you can keep the implicit match, if you add the explicit assignement to $_ before. :-) Which sometimes makes the code briefer and therefor easier to read, and sometimes makes it too short in the wrong place and therefor harder to read. (As a beginner, you should probably stick to the explicit syntax for a while.)

    Makeshifts last the longest.