Perl: Question about 'BEGIN'

Newbie question, not sure of the use of BEGIN when you can just have the enclosed code inserted before the remaining program which means that code will get executed first anyway?

It's useful with -p and -n flags (usually used in one-liners).

And

You need it sometimes.

The BEGIN Block