perldoc spacing oddity

Discussion in 'Perl Misc' started by Ronald Fischer, Nov 22, 2005.

  1. I have in the documentation section of my module:

    ###############################################################
    =head1 CLASS METHODS

    =over 4

    =item B<new> - CONSTRUCTOR

    $obj = new TelnetCli([$timeout]);

    This creates a new TelnetCli object......
    ###############################################################

    When I display this using perldoc, the output looks like this:

    ###############################################################
    CLASS METHODS
    new - CONSTRUCTOR
    $obj = new TelnetCli([$timeout]);

    This creates a new TelnetCli object....
    ###############################################################

    Note that there are no empty lines before and after the =item line.
    This surprises me, because when I look at some modules in the
    Perl distribution, how the PODs are defined there, I see that
    they do it exactly as I do, but they do have empty lines around
    the item lines.

    Is someone able to spot what I am doing wrong here?

    Ronald






    --
    Sent by mn-pg-p-e-b-consultant-3.com from siemens part of com
    This is a spam protected message. Please answer with reference header.
    Posted via http://www.usenet-replayer.com
    Ronald Fischer, Nov 22, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    27
    Views:
    822
    Marc 'BlackJack' Rintsch
    Mar 17, 2006
  2. James Edward Gray II

    Perldoc Equivalent?

    James Edward Gray II, Aug 28, 2004, in forum: Ruby
    Replies:
    19
    Views:
    332
    Mauricio Fernández
    Sep 6, 2004
  3. Derek Smith

    ri and rdoc....like perldoc?

    Derek Smith, Jul 7, 2010, in forum: Ruby
    Replies:
    7
    Views:
    162
    Roger Pack
    Jul 9, 2010
  4. Upstart
    Replies:
    1
    Views:
    98
    Tad McClellan
    Aug 11, 2003
  5. Dan Jacobson

    root wants to use perldoc

    Dan Jacobson, Aug 23, 2003, in forum: Perl Misc
    Replies:
    2
    Views:
    127
    Dan Wilga
    Aug 26, 2003
Loading...

Share This Page