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

Discussion in 'Perl Misc' started by Sara, Jul 11, 2003.

  1. Sara

    Sara Guest

    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)
     
    Sara, Jul 11, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lloyd Sheen

    Die IDE Die

    Lloyd Sheen, Jan 24, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    460
    Natty Gur
    Jan 26, 2004
  2. Lloyd Sheen

    More Die IDE Die

    Lloyd Sheen, Jan 24, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    471
    Alvin Bruney
    Jan 25, 2004
  3. Ted
    Replies:
    1
    Views:
    616
    Eric Lawrence [MSFT]
    Mar 1, 2004
  4. Jim Bancroft

    Any reason why Page_Load would be ignored?

    Jim Bancroft, Jan 27, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    505
    Jim Bancroft
    Jan 28, 2005
  5. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,270
    Smokey Grindel
    Dec 2, 2006
Loading...

Share This Page