in reply to which use for any Perl elements?

Gee, why not go up to your calculus teacher and ask them "So, when is it useful to use this 'integral' thing?"

Your questions are not just "quite large", they're almost too open ended to be practically answered. Find a good book on Perl (the Camel, the Llama) and read it all the way through. Read things like perldoc perlsub which covers all three of these topics. Then if you have specific questions you might get some reasonable responses.

Replies are listed 'Best First'.
Re^2: which use for any Perl elements?
by mat21 (Beadle) on Dec 03, 2004 at 16:24 UTC
    I have read several times "Advanced Perl Programming". That's why I understand how they work but it is not really defined when I have to use them.
    I sometimes saw some modules using these technics and I wanted to know if it is recommended to use them when you implement modules/packages.
    dragonfly is certainly plenty of wisdom when he says "if you don't know why you should use it, you probably shouldn't be using it."
    I didn't ask for a course but just PM to share their own experience on those things. Don't waste too much time on this question.

    thank you for your answers.