chomp removes newline characters (\n, \r) from the end of the variable (or in array context, the end of each array item). $_ is a default Perl variable for the current item in a loop.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.