[mylvmbackup] running perl script as hook
- From: "Boehm, Matthew" <mboehm@xxxxxxxxxxxxx>
- To: <mylvmbackup@xxxxxxxxxxxxx>
- Date: Tue, 2 Sep 2008 14:43:16 -0500
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>
- Follow-Ups:
- [mylvmbackup] Re: running perl script as hook
- From: Lenz Grimmer
Other related posts:
- » [mylvmbackup] Re: running perl script as hook
- » [mylvmbackup] running perl script as hook
- » [mylvmbackup] Re: running perl script as hook
- [mylvmbackup] Re: running perl script as hook
- From: Lenz Grimmer