On Feb 10, Dan Muey said:

>I am using a module that does use Carp; and you
>can specify whther you want croak or carp on an error
>Which is cool. But there is no way to specify anythign
>else besides those two.
>
>What I'd like to do is get any errors into a variable:

You want Carp::shortmess().

  perldoc Carp

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to