Also handy is this to run the current buffer through an external command:
%! somecommand
So, for example, using perl to make everything uppercase: %! perl -pe '$_=uc'