Hi
I'm trying to get my head around the perl exit(); function. I can't find any documentation on this anywhere?
I need to exit a sub and exit the parent sub at the same time. Would exit -1 do this?
I basically have an error sub-routine which is called at various stages within other sub routines. I need to exit, and flush the current sub and then process the error sub. At the moment, it appends the output of my error sub onto and upto the point of termination in the current sub.
Anyone else have any experience with this?
- wil
I'm trying to get my head around the perl exit(); function. I can't find any documentation on this anywhere?
I need to exit a sub and exit the parent sub at the same time. Would exit -1 do this?
I basically have an error sub-routine which is called at various stages within other sub routines. I need to exit, and flush the current sub and then process the error sub. At the moment, it appends the output of my error sub onto and upto the point of termination in the current sub.
Anyone else have any experience with this?
- wil