in reply to Re: Re: Text::Format Wrapping
in thread Text::Format Wrapping

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

-- Hofmator

Replies are listed 'Best First'.
Re: Re: Re: Re: Text::Format Wrapping
by slojuggler (Beadle) on Mar 07, 2003 at 02:17 UTC
    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!

      is there a way to discover if a particular module is included in the core?
      Have a look at perldoc perltoc under 'PRAGMA DOCUMENTATION' and 'MODULE DOCUMENTATION'. Online you can find it here for perl 5.8.0 and perl 5.6.x.

      For additionally installed modules you can try perldoc perllocal. And to simply see if a module is installed use perl -MModule::Name -e1.

      And as a side note ... you can edit most of your posts here on the monastery (apart from certain root nodes), so there's seldom a need for a repost.

      -- Hofmator

Re: Re: Re: Re: Text::Format Wrapping
by slojuggler (Beadle) on Mar 07, 2003 at 03:20 UTC
    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!