in reply to CGI and perlpod

Did you try putting an __END__ after the code and before the pod? This might help to determine whether the problem is with your code or the pod. However I think we would really need to see the code as has already been mentioned.
/J\

Replies are listed 'Best First'.
Re: Re: CGI and perlpod
by Anonymous Monk on Jun 10, 2003 at 08:17 UTC
    Here's my perlpod, it's written after the code finishes.

    __END__ =head1 NAME checkform.pl - it: + Processes data from a HTML form, + Queries or update a flat file text database + Writes a summary of the transaction back to the web browser and + Logs the transaction details in a text file =head1 USAGE I've written few lines here =head1 DATABASE STRUCTURE I've written few lines here =head1 Log File STRUCTURE I've written few lines here =cut
      Well that wouldn't cause the error you describe - you must have overwritten a closing '}' when you added the pod.
      /J\
      
        I am pretty sure that i didn't overwrite anything.. pretty sure.. i would appreciate it in case you can try it on one of your codes! it's really annoying.. i can't find any documentation about it anywhere!
Re: Re: CGI and perlpod
by alk1000 (Initiate) on Jun 12, 2003 at 09:05 UTC
    I figured it out.
    You have to replace the __END__ with 1; (that's number 1 followed by a semicolon).

    Cheers, and tanx for the help