Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Supressing page breaks in forms

by tbone1 (Monsignor)
on May 29, 2009 at 18:21 UTC ( [id://766909]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Supressing page breaks in forms
in thread Supressing page breaks in format/write output

$- is the number of lines left to print for the default file handle. Does resetting it change anything? $=, on the other hand, is the current page length for the default file handle. You could try setting $= to something absolutely massive (5000?) depending on the data. You would need to know and understand the data to come up with a suitable value. Have tried setting it to undef? Just a (dangerous) thought.

--
tbone1, YAPS (Yet Another Perl Schlub)
And remember, if he succeeds, so what.
- Chick McGee

Replies are listed 'Best First'.
Re^4: Supressing page breaks in forms
by yaconsult (Acolyte) on May 29, 2009 at 20:01 UTC
    I tried setting $= = 5000 before each write withn the loop. It didn't seem to have any effect as I still get the page breaks.

    When I tried undefing it I got an error about unitialized value $= in scalara assignment.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://766909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-18 00:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found