M
Matt_Pettis
Hi,
I have some perl scripts that I am going to call in sucession from a
scheduling program (ESP, actually). I would like to control the flow
of executed scripts based on return codes from each of my perl scripts.
My question: does anybody have any good patterns of implementing this?
My thought is to maintain a global `$error_level' variable throughout
my script and then return its value in an END block. However, before I
go on and implement this, I'd like to hear about any
experiences/suggestions from experienced programmers on how they've
implemented this in perl.
Thanks,
Matt
I have some perl scripts that I am going to call in sucession from a
scheduling program (ESP, actually). I would like to control the flow
of executed scripts based on return codes from each of my perl scripts.
My question: does anybody have any good patterns of implementing this?
My thought is to maintain a global `$error_level' variable throughout
my script and then return its value in an END block. However, before I
go on and implement this, I'd like to hear about any
experiences/suggestions from experienced programmers on how they've
implemented this in perl.
Thanks,
Matt