Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: Supressing page breaks in forms

by tbone1 (Monsignor)
on May 29, 2009 at 18:21 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2016-10-24 11:50 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (305 votes). Check out past polls.