in reply to Trouble with understanding code

Apart from all the comments posted, see
perldoc -f use
That has answers to most of the questions you have.
Also see
perldoc perlmodlib
for a list of standad modules and pragmas

Manav