[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] help



Hi  Amitava,
>
>I had earlier saved my scripts in text format in perl. Once again  I ran
>the scripts under macperl and saved them under CGI.

Just open them and save as CGI Script.

>Now when I wanted to check the files in the folder by directing the netscape
>to the folder, the netscape browser listed them all but the CGI ones
>had 0 k data.  The HTML files had all data in them.
>
>But when I asked for info from the apple file menu all of them contained
>65 k of data.

Sorry, but I don't get this questions. What do you mean with 'check 
the files'? Opening them as file with Netscape?
Please note, that the CGI scripts are a sort of application, that 
could only be opened with MacPerl. In fact, the text part of the 
script is saved as a resource in the CGI app. By convention, you 
should save CGI scripts with the extension .cgi or .acgi, plain text 
files with the .pl extension and droplets with the .plx extension to 
make things clear.
>
>I am completely bewildered.  Can you please help
>
>regards
>
>Amitava

Best regards
   --Thomas

P. S. Please make a CC (carbon copy) to the MacPerl list, so others 
could see and answer your questions.


==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org