Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I'm not sure if it's a bug or a matter of configuration. When I use as a perl-shell and any error occurs, some special variables and settings get lost. This error is not reproducible with V1.3, but this belongs to Perl 5.10 and I'm not sure if I can safely install this version in conjunction with Perl 5.8.8.

Here an example:

lanx@xubuntu:~$ perl -de0 Loading DB routines from version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(-e:1): 0 DB<1> $\="XXX" DB<2> print XXX DB<3> print 5/0 Illegal division by zero at (eval 12)[/usr/share/perl/5.8/ +28] line 2. at (eval 12)[/usr/share/perl/5.8/] line 2 eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = + $^D | $DB::db_stop; print 5/0; ;' called at /usr/share/perl/5.8/ line 628 DB::eval called at /usr/share/perl/5.8/ line 3410 DB::DB called at -e line 1 DB<4> print DB<5>

- LanX

In reply to 1.28: Settings deleted after error by LanX

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2021-06-13 05:20 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (54 votes). Check out past polls.