How to get into a variable the résult of

Discussion in 'Perl Misc' started by hurluberlu, Feb 4, 2004.

  1. hurluberlu

    hurluberlu Guest

    When the next instruction is executed in my code
    Carp::confess "exception occured";

    there is a lot of informations written on STDERR. I'd like to get
    these informations to put them into a HTML window. What can I do for
    that ?

    Thanks for your help
     
    hurluberlu, Feb 4, 2004
    #1
    1. Advertising

  2. hurluberlu

    Ben Morrow Guest

    (hurluberlu) wrote:
    > When the next instruction is executed in my code
    > Carp::confess "exception occured";
    >
    > there is a lot of informations written on STDERR. I'd like to get
    > these informations to put them into a HTML window. What can I do for
    > that ?


    my $msg = Carp::longmess "exception occurred";

    Ben

    --
    Razors pain you / Rivers are damp
    Acids stain you / And drugs cause cramp. [Dorothy Parker]
    Guns aren't lawful / Nooses give
    Gas smells awful / You might as well live.
     
    Ben Morrow, Feb 4, 2004
    #2
    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. J.Ram
    Replies:
    7
    Views:
    654
  2. Pavel
    Replies:
    7
    Views:
    535
    Pavel
    Sep 19, 2010
  3. Lakshmi Sreekanth

    i = 10; result = ++i - --i; How result become ZERO

    Lakshmi Sreekanth, Sep 21, 2010, in forum: C Programming
    Replies:
    52
    Views:
    1,187
    Nick Keighley
    Sep 23, 2010
  4. Michael Tan
    Replies:
    32
    Views:
    996
    Ara.T.Howard
    Jul 21, 2005
  5. goldtech
    Replies:
    0
    Views:
    112
    goldtech
    Jul 13, 2013
Loading...

Share This Page