Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
If you think that a question deserves a useless answer, then why bother answering?
I didn't think my answer was useless.
Furthermore we were given exact input and an exact desired result.
One way to get that result would be to ignore the input entirely and just hardcode the assignments. But it wasn't a question about achieving a result, it was about what techniques would be used, and I answered that question.

Your approach is your approach, and mine is mine. The wonderful thing about PerlMonks is that there are many different approaches, and no one approach of them will be ideal for every situation, but often enough, at least one of them will hit the nail on the head.

In this case, my approach was to give the OP a few key concepts about which he could educate himself to achieve the desired result. I'm sorry that it chafed you so much.

The PerlMonk tr/// Advocate

In reply to Re: regex issue response gripe by Roy Johnson
in thread regex issue by Anonymous Monk

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 pondering the Monastery: (5)
As of 2022-05-16 08:06 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (62 votes). Check out past polls.