ajt has asked for the wisdom of the Perl Monks concerning the following question:
If you put pod at the end of a file, it's customary to preceed the first =head1 My title with a __END__
I have been storing stuff at the end of my scripts in a __DATA__ area for some time. I added pod to one file recently and noticed that it tried to use the pod section as my data. This is not what I want it to do...!
I assume there is more than one way to fix this, but which is best?
Naturally I want to include pod in as many of my scripts as possible, and it is convient to have values in the script it's self...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: POD and DATA question
by demerphq (Chancellor) on Sep 26, 2001 at 16:34 UTC | |
|
Re: POD and DATA question
by idnopheq (Chaplain) on Sep 26, 2001 at 15:30 UTC | |
|
(tye)Re: POD and DATA question
by tye (Sage) on Sep 26, 2001 at 20:28 UTC |