It's old. It was used quite a lot for CGI scripts before it was replaced by PHP (which was much nicer.) It's useful for hacking together scripts quite quickly. Google around if you want to find information on it, there's plenty about - but if you're learning it be careful you don't let it's methodology let you slip into very bad habits.