Perl Cd Bookshelf [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Perl Cd Bookshelf [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

8.32. Carp


Provides
routines for generating error messages. Its subroutines generally
report errors from the perspective of the calling program. It has the
following functions.


carp msg

Warns of an error; reports the error as having occurred in the
calling routine, not in the routine that contains the
carp.

Use Carp;
carp "text of error message";


cluck msg

Warns of errors and prints a stack backtrace; reports the error as
having occurred in the calling routine. Not exported by default.

use Carp qw(cluck);
cluck "text of error message";


confess msg

Dies and prints a stack backtrace. Reports the error as having
occurred at the point where confess was called.


croak msg

Dies and reports error as having occurred in the calling routine.

/ 875