Re: Centered Justified Text

2002-12-11 Thread John W. Krahn
Paul Kraus wrote: > > How can I justify text. For example lets say I want a 50 character line > that contains "TITLE", and I want it centered. > Can this be done with printf? This is what formating is designed to do. perldoc perlform perldoc -f format perldoc -f write John -- use Perl; prog

RE: Centered Justified Text

2002-12-11 Thread Paul Kraus
perfect thanks. That html message through me for a loop :) > -Original Message- > From: Paul Johnson [mailto:[EMAIL PROTECTED]] On Behalf Of Paul Johnson > Sent: Wednesday, December 11, 2002 4:02 PM > To: Paul Kraus > Cc: 'Mystik Gotan'; [EMAIL PROTECTED] > Sub

Re: Centered Justified Text

2002-12-11 Thread Paul Johnson
On Wed, Dec 11, 2002 at 03:34:07PM -0500, Paul Kraus wrote: > You can do this? No. > Perl will output the text to a file using html? Meaning > that just the text as it should be and not the tags will print? Cool :) > I did not know that. Where would I sent the content-type and c

RE: Centered Justified Text

2002-12-11 Thread Rob Richardson
Paul, >From what little I have learned of Perl, no. It knows nothing about HTML. It will write whatever you tell it to. If you happen to tell it to write something that is in correct HTML format, you can use a web browser to view the resulting file. The purpose of the cgi.pm module is to help

RE: Centered Justified Text

2002-12-11 Thread Paul Kraus
mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 3:15 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Centered Justified Text > > > How about using HTML? > > $var > > Put that in a var and print it out. Ofcour

Re: Centered Justified Text

2002-12-11 Thread Mystik Gotan
How about using HTML? $var Put that in a var and print it out. Ofcourse, set content-type to text-html. -- Bob Erinkveld (Webmaster Insane Hosts) www.insane-hosts.net MSN: [EMAIL PROTECTED] From: "Paul Kraus" <[EMAIL PROTECTED]> To: "Perl" <[EMAIL PROTECTED]> Subject: Center

RE: Centered Justified Text

2002-12-11 Thread Wagner, David --- Senior Programmer Analyst --- WGO
You might try Damian Conway's Text-Autoformat from CPAN: Template::Plugin::Autoformat Interface to Text::Autoformat module Template-Toolkit-2.08 - 30 Jul 2002 - Andy Wardley Text::Autoformat Automatic and manual text wrapping and reformating formatting Text-Autoformat-1.04 - 04 Dec 2