Rename your Perl binary and see if it still works.  :-)

On Sunday 25 September 2005 07:42 pm, [EMAIL PROTECTED] wrote:
> Hi.
>
> I've got the following script, which I picked up off the apache mod_perl
> pages, running.
>
> /~~~~~~~~~~~~~~~~~~~
> #!/usr/bin/perl
>
> # Script: vegetables1.pl
> use CGI::Pretty ':standard';
> print header,
> start_html('Vegetables'),
> h1('Eat Your Vegetables'),
>       ol(
>               li('peas'),
>               li('peppers'),
>               li('red'),
>               li('green')
>       ),
> hr,
> end_html;
> \___________________
>
> How can I be sure that is being run by mod_perl and not by perl?
>
> Thanks.
> Kind regards.
> Luke.

Reply via email to