Hi
It depends when to use. If i speak to a monk i use the cook book style. But if i need to teach PERL to a new commer to programming i would use the other way. As usual PERL gives you the flexibility to solve a problem in 100 different ways and we use it depending on the need.