Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > perldoc spacing oddity

Reply
Thread Tools

perldoc spacing oddity

 
 
Ronald Fischer
Guest
Posts: n/a
 
      11-22-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ri and rdoc....like perldoc? Derek Smith Ruby 7 07-09-2010 03:56 PM
Tried Ruby (or, "what Python *really* needs" or "perldoc!") john_sips_tea@yahoo.com Python 27 03-17-2006 10:02 PM
Perldoc Equivalent? James Edward Gray II Ruby 19 09-06-2004 05:04 PM
root wants to use perldoc Dan Jacobson Perl Misc 2 08-26-2003 03:11 PM
Perl faq and posted to newsgroup but not to perldoc.com Upstart Perl Misc 1 08-11-2003 03:30 PM



Advertisments