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

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
Domain Nodelet?
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 avoiding work at the Monastery: (3)
As of 2022-05-17 06:39 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (65 votes). Check out past polls.