Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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


Comment on Re^3: Supressing page breaks in forms
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
Node Status?
node history
Node Type: note [id://766909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2015-07-31 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls