in reply to Finding stack addresses

Perl doesn't use the system stack for passing arguments to Perl functions. We need to know more about the bug being exploited to answer you relevantly.