Is there some reason why warn and die would be very very slow?

S

Sara

I have some not-unusual warn and die statements in my perlcode. Im
using 5.8 on a linux RH8 box. The code runs fine, and even the warn
and die statements work (eventually). In the debugger, when I step
past the warn or die line, it takes from 15-30 seconds to actually
warn or die- in the meantime it just sits there thinking about that
one line. The rest of the code is blazing fast; the box is unloaded.

Here is a typical line:

warn "No CCX is defined in for ($ma)\n" unless defined $CCx{$ma};

Is there something peculiar about warn or die that would make them run
at this decellerated pace?

Thank-You in advance for your time and advice.

-Gx (wishing I was at OPEN SOURCE this week GRRRRRR)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top