Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Creating my first perl mod

by hossman (Prior)
on Feb 25, 2002 at 04:22 UTC ( [id://147263]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://147263]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-29 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found