Error handling in PERL

Discussion in 'Perl' started by OkFine, Jun 4, 2013.

  1. OkFine

    OkFine New Member

    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    so when i trap errors with PERL i use the die function, though I have heard there are other methods like the warn.

    Some of functions like carp and cluck also seem like they are used frequently. If I were to just use one which would it be?
     

Share This Page