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

Re: printing multiple pages

by choroba (Abbot)
on Jan 05, 2014 at 11:07 UTC ( #1069385=note: print w/ replies, xml ) Need Help??


in reply to printing multiple pages

Print the feed character before every page except the first one:

my $first = 1; until (0 == int rand 10) { # The number of pages is unknown in advanc +e. print "\f" if ! $first; undef $first; print "page...\n"; }
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: printing multiple pages
Download Code
Re^2: printing multiple pages
by hvn52 (Initiate) on Jan 06, 2014 at 15:17 UTC
    Thank for your response. What use is it to print it before every page ?
      Before every page except the first one is the same as after each page except the last one, which is what I understood you had requested.
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-07-12 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls