Hi,
I have a text that I read from a file. I want to display the text on the screen in a
column in a newspaper style.
I do it like this....
$initial_tab = "\t\t";
$subsequent_tab = "\t\t";
print wrap($initial_tab, $subsequent_tab, @text1);
print fill($initial_tab, $subsequent_tab, @text1);
It will print like this ...
I am a boy and I go to school
everyday. I have to do a lot of
homework and I dont get time
to play these days.
But if I have more than one independent text i.e. @text2, @text3 to be displayed in
different columns, then what shall i do.
I want something like this ...
I am a boy and I go to school She is a girl and she also goes
everyday. I have to do a lot of to school. I do all her homework
homework and I dont get time and she gets plenty of time to
to play these days play.
Is there any mechanism to achieve this ?
Best Regards
Rajeev
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>