in reply to Text::Format Wrapping

RTFM:
BUGS Line length can exceed columns specified if columns is set to a small number and long words plus leading whitespace exceed column length specified. Actually I see this as a feature since it can be used to make up a nice word list.

-- Hofmator

Replies are listed 'Best First'.
Re: Re: Text::Format Wrapping
by slojuggler (Beadle) on Mar 05, 2003 at 19:39 UTC
    Hi Hof:

    I did read that little caveat there. That's why I posted here. <grin>

    The rest: I would use Text::Wrap, however I'm using ActivePerl. The Visual Package Manager and the ppm are unable to find Text::Wrap using the installers.

    It's odd that Text::WrapProp is available through VPM and ppm, and yet I see Text::Wrap AND WrapProp at cpan.org.

    At this point, I'm trying to: 1) Figure out if I can do this using Text::Format or Text::Wrapper. 2) Figure out if it's possible to install this module without having to install cygwin/make/whatever else just to make the Text::Wrap module.

    Ah, the joys of Win32!

      Text::Wrap is a core module in 5.6 and 5.8, so no need to install it. Just use Text::Wrap!

      -- Hofmator

        Cheers Hofmator! I had no idea it was enclosed in the Perl core.

        For my self-education, is there a way to discover if a particular module is included in the core? Sort of like a database "query" on an core module?

        Funny how the answer was right under my nose. Apparently, the answer wasn't evident to a tech who helped me...:

        <snippet from techie e-mail>

        If you are using ActivePerl build 633 or better, you should be able to install this module using PPM3. <end snippet>

        Thanks again all!

        Reposting here..first post got truncated.

        Cheers Hofmator! I had no idea it was enclosed in the Perl core.

        For my self-education, is there a way to discover if a particular module is included in the core? Sort of like a database "query" on an core module?

        Funny how the answer was right under my nose. Apparently, the answer wasn't evident to a tech who helped me...:

        (snippet from techie e-mail)

        If you are using ActivePerl build 633 or better, you should be able to install this module using PPM3.

        (end snippet)

        Thanks again all!