in reply to Creating my first perl mod

Every line of your code (including your __END__ and all of your pod commands) is indented by two spaces (at least, in the version you submitted it is)

As I understand it, pod requires that all of your commands (ie: =head1) be left aligned. (no indent)

When I change your TITLE to NAME, and remove the two spaces on that line, i get a valid POD doc that only has a title (nothing else).

You might wnat to take a look at podchecker (which should come with perl >= 5.6)

Replies are listed 'Best First'.
Re: Re: Creating my first perl mod
by IlyaM (Parson) on Feb 25, 2002 at 23:28 UTC
    You might wnat to take a look at podchecker.

    If only it could understand all legal POD syntax (like =head3).

    --
    Ilya Martynov (http://martynov.org/)

      Hi,

      thanks for the comments. I was led to beleive that pod can be on an indented line, so that's how i did it. Now i know it wont ill change my editor-api to not use indentations on pod. Thanks for all the comments.

      Does anyone see any problems with the actual perl code?

      Cheers,

      Elfyn