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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

You've changed your spec: in your original post, you said, "(t)he form will be viewed using a browser...."

Certainly it's possible to view a plain text file with a browser, by any one of several techniques, but IMO, if something is "viewed using a browser," it's a web page (or, to be a bit more precise, a page or constituent thereof). Further, within the context of "viewed in a browser," a form is, as noted above, a very specific html construct with a very specific purpose unrelated to what you didn't tell us until prodded by replies suggesting you clarify your intent.

Given your new spec, you may wish to know that Control-L (represented by caret-L in many circumstances) is the (nominally) "non-printing" ASCII and ANSI character for a "Form Feed" AKA "page eject, 0x0c, 12 decimal. Update: see http://www.robelle.com/smugbook/ascii.html/update

So the problem becomes "how can you remove each instance of 0x0c (and, I infer -- perhaps incorrectly -- the "Date Hour Requests UID" elements)?" (Your spec for "header" is a bit less than precise.) But either case is readily dealt with using a very basic script (which, at this stage, is left as an exercise for the student) or --indeed -- with a minimally competent text editor.

Suggestion: when you update a post, please tag it prominently -- for example, Update....blah, blah, blah /update. You do acknowledge your addition to the OP, but that acknowledgment is less than prominent.

<Update: You appear to have also changed your title, so it no longer matches the titles of the replies. That's also confusing, and the change is still less than clear; s/format\/write output/text/ would have been better. /update>


In reply to Re^5: Supressing page breaks in forms by ww
in thread Supressing page breaks in format/write output by yaconsult

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 wandering the Monastery: (4)
As of 2024-04-18 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found