in reply to About a piece of code

perldoc is your friend.

For m, I suggest that you have a look at perlop, i.e. do a

perldoc perlop
from your command line, and search for the chapter titled Regexp Quote-Like Operators. For and, you search for the chapter "Logical And", also in perlop. next is described in perlsyn.

-- 
Ronald Fischer <ynnor@mm.st>