You will probably enjoy Gisle Aas' PerlGuts Illustrated - which, btw, I find a very worthwhile read for any abitious Perl programmer who doesn't yet know how perl works on the inside. Beware, it's a pretty hefty read, but will answer this and many more questions.