Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Congratulations, you found a bug in your version of Perl!

Here is how to tell. Try typing:

perldoc perldiag
and then to find your message do:
/panic: top
This will give you the following text:
panic: top_env (P) The compiler attempted to do a goto, or something weird like that.
The description at the top of perldiag says that (P) indicates a trappable internal error that should never arise.

Now if you can narrow down what size it starts running into trouble with, I would suggest using the handy perlbug utility and reporting this as a bug. You probably should not send the offending file (you say it is large) but be willing to send it privately on request.

Other posters are correct in saying that for your problem it is probably better to use a module, do, require, etc rather than an explicit eval. However there are times when an eval is right even so, and it shouldn't randomly break.

Important Note
If you see an explicit error message like this, don't guess. Go straight to the documentation and look for the description of what that message means. If there are a stream of messages, the first one is probably the real error and the rest are consequences, so look up the first one and try to fix that. This advice is good whether you get the message, a co-worker, or it is a random question.


In reply to Re (tilly) 1: problem with eval by tilly
in thread problem with eval by Anonymous Monk

Title:
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 How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found