No I don't have any control of the subroutine because
thatz inside a module called Quota
-Arijit
world.com> wrote:
> Hi Arijit,
>
> As far as I'm aware SIGnals are the only generic
> mechanism you can use to jump out of code from any
> point of execution...
>
> So without knowing the contents
Hi Arijit,
As far as I'm aware SIGnals are the only generic
mechanism you can use to jump out of code from any
point of execution...
So without knowing the contents of the subroutine
you're running it's not easy to suggest a way for it
to work. Perhaps you could post that subroutine?
Is it doin
How can I time out a subroutine/function?
print "My code is executing...the next sub inokation
takes a long time simetimes. SO, I want to ensure that
at max it should take 5 secsonds.";
my $device_name = Quota::getqcarg($path);
I want to timeout Quota::getqcarg($path) but I don't
want to use the