Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Sorry, I should have provided more detail.

I am outputting nicely formatted text files with tables of data and statistics.

These get emailed to people and are also available by going to report pages on web pages that contain statistics and reports.

So all I want to do is not have page breaks inserted into my formatted output. In both email and on the web pages that people will see the columns of output, they can just scroll.

So the problem simply is, how can I write out many lines of formatted output without having page breaks automatically inserted?

I tried setting $- to 200 after each write, as suggested by Albannach above, but that doesn't seem to be doing the trick either. I'm still getting page breaks with headers repeats.

This must be possible to do. If I were printing on legal-size paper instead of letter, I'd want more lines on the page between breaks. How can I set the number of lines in the output I'm generating with format/write?


In reply to Re^2: Supressing page breaks in forms by yaconsult
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 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? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2022-07-06 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?