>>>>> "AK" == Ary Kleinerman <kleiner...@gmail.com> writes:


  AK> The first pattern search starts in the beginning of the string,
  AK> then if it match, it returns TRUE and it go inside the While
  AK> Loop. Then, when it finishes the Loop, continues from the last
  AK> pattern matched and so on.

yes, but only in scalar context does it do that. best to read the docs
(again and again) and learn the tricks of m// and s///. there are plenty
beyond the regexes themselves. perldoc perlretut is a good start.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to