There are different ways of handling Perl because there are many different environments and ways of writing and running programs. One of Perl's strengths is its flexibility - it can be used almost anywhere. Another is that it does not dictate how you do things: that's up to you.