[mylvmbackup] running perl script as hook

Hey all,

 So I've got a couple hooks I'd like to write but it would be best if
they could "inherit" all the variables and the $dbh connection handler
from the mylvmbackup script.  I'm no perl guru but is there some way to
'extend' the mylvmbackup package and instead of having the runk_hook()
function shell out the process, have it execute the main() of my child
class thus instancing it and inheriting all the variables?

 

Thanks,
Matthew

 

Matthew Boehm

Senior MySQL Database Administrator

The Planet - Northstar Managed Hosting

Office: 281-714-4018

Mobile: 713-392-8748

Email: mboehm@xxxxxxxxxxxxx <mailto:jtillotson@xxxxxxxxxxxxx> 

 

Other related posts: