Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
I tested the posted code with
C:\>Perl-5.12\bin\perl.exe -v This is perl 5, version 12, subversion 4 (v5.12.4) built for MSWin32-x +86-multi-t hread (with 9 registered patches, see perl -V for more detail) Copyright 1987-2010, Larry Wall Binary build 1205 [294981] provided by ActiveState http://www.ActiveSt +ate.com Built Jun 20 2011 18:35:25
following the directions above and got multiple error codes, including:
  • Out of memory! panic: leave_scope inconsistency at primes.pl line 13.
  • Can't coerce F♥ ns with other barewords, keywords, and subroutine names. Constant names must begin with a letter or underscore. Names beginning with a double underscore are reserved. Som +e poor choices for names will generate warnings, if warnings are enabled + at compiUNKNOWN to string in leave at primes.pl line 14. Use of uninitialized value in concatenation (.) or string at primes.pl + line 16.
  • Can't coerce UNKNOWN to string in rds, keywords, and subroutine names. Constant names must begin with a letter or underscore. Names beginning with a double underscore are reserved. Som +e poor choices for names will generUNKNOWN ings, if warnings are enabled + at compile time. =head2 List constsubtract at primes.pl line 13.
  • Terminating on signal SIGINT(2)
  • Can't coerce UNKNOWN to string in ~☺gt at primes.pl line 13. Use of uninitialized value in numeric gt (>) at primes.pl line 13.
  • Can't coerce UNKNOWN to string in t&#9786;rds, keywords, and subroutine names. Constant names must begin with a letter or underscore. Names beginning with a double underscore are reserved. Som +e poor choices for namUNKNOWN KNOWN te warnings, if warnings are enabled + at compile time. 2677 is prime. =head2 List constants Constants may be lists of munstack at primes.pl line 13. panic: leave_scope inconsistency at eir last value in scalar context as one might expect. They currently return the number scalar context as one might expect. They currently return the number Label not found for "next OUTER" at primes.pl line 14. Label not found for "next OUTER" at primes.pl line 14. of values, but B<this may change in the future>. Do not use constants with multiple values in scalar context. B<NOTE:> This implies that the expression defining the value of a constant is evaluated in list context. This primes.pl line 13.
I don't know if this information is terribly diagnostically useful.

In reply to Re: "Free to wrong pool" error. by kennethk
in thread "Free to wrong pool" error. by davido

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (10)
    As of 2014-09-02 19:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite cookbook is:










      Results (29 votes), past polls