Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

comment on

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


Neat! I'll have to play with it a little bit. I have a couple minor comments about your post. (Not your code yet, as I haven't looked it over yet.)

First: thanks for using code tags, but you only need code tags at the *start* and *end* of each chunk of code. That way, a multiline chunk of code will get a "download" link, making it easier for people to get your code to try it out. Something like this:

sub foo {
print "hi!\n";


Doing so will make your code look like this:

sub foo { print "hi!\n"; } foo();

Second: I've tried the readmore tags on a "top level" post like you did, and found that they don't really do much at this level. It seems that they're more useful for responses.

I'll post a few notes for you after I've tried your code and looked it over.


When your only tool is a hammer, all problems look like your thumb.

In reply to Re: simple game of life by new hand by roboticus
in thread simple game of life by new hand by glycine

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
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-10-28 18:23 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (96 votes). Check out past polls.