If I understand your question correctly (something like
C's
inline, but for
perl) then I'm afraid the answer is no, you can't inline functions/methods. This is largely due to the complex nature of perl and more directly its dynamic nature and handling of subroutines.
Limbic~Region asked this question back in May at
Inline subs? and I came up with a filter solution, but as noted in a reply, there are many, many issues with this. Although if I haven't understood your question then you can disregard the above ;)
HTH
_________
broquaint