Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
You said:
My wish is to able to search for the lines that are in bold and print them out.

How would you know whether a given line is "in bold"? There doesn't seem to be anything in the sample data that would convey this sort of information.

The only other occurrence of "bold" in the OP is a comment line next to an "if" condition, which is looking for an html anchor tag in the data. Is there something about html anchor tags that makes you think of a line being "in bold"?

... am still a perl newbie.

That hardly begins to describe your current condition. The current OP turns out to be exactly equivalent in every way to your three previous attempts to get help at PerlMonks, leading us to conclude that there's a bigger problem than just being a newbie.

For whatever reason(s), you are not learning anything -- you don't show any evidence of having read any book, tutorial, or manual about programming in perl, or any of the references that you've been given repeatedly about how to post questions effectively at PerlMonks. You haven't responded to any of the advice you've been given in your previous threads.

Have you been able to figure out that your code as posted in this thread does not compile? Do you know what that means? How about if you try to run the code, read the error messages that you get, and try to fix the problems in the code that the error messages are reporting?

If you don't know how to do that, and you want us to help you with that, you would have to:

  1. Post the exact code that you tried to run (using <code> tags)
  2. Post the exact error messages that you are unable to fix by yourself (again, using <code> tags)

That would be a good start. It would indicate a tremendous amount of progress for you, relative to what you have been able to show us so far.

In reply to Re: REGEX malfunction by graff
in thread REGEX malfunction by rayken

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 avoiding work at the Monastery: (2)
As of 2022-08-13 09:59 GMT
Find Nodes?
    Voting Booth?

    No recent polls found