Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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
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 exploiting the Monastery: (7)
As of 2014-11-23 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (129 votes), past polls