I use plugin code in a few places and I got around the variable handling by passing certain variables thru the
, as a hash reference, array reference or similar. You can also just have an inherited method that sticks the vars in a complex data structure.
...Perl is like sex: if you're doing it wrong, there's no fun to it.