in reply to Re: Re^7: PerlPlusPlugin: Security CGI problems
in thread PerlPlusPlugin: Security CGI problems

I have used the plugin successfully with netscape versions 4.78, 6.23, and 7.01. It doesn't take very much time for the tk program to start.

When you run the perl script by itself, does it work?

  • Comment on Re^9: PerlPlusPlugin: Security CGI problems

Replies are listed 'Best First'.
Re: Re^9: PerlPlusPlugin: Security CGI problems
by basm101 (Acolyte) on Feb 26, 2003 at 11:45 UTC
    Right, okay so it's not my netscape.
    Also, yes, the perl script run by itself through a terminal DOES work.
    Another possibility is the plugin isnt installed properly. If I go to Help:About plugins I am told:

    PerlPlus Plugin 0.95.04

    File name: perlplusplugin.so
    Mime type: application/x-perlplus
    Description: Perl
    Suffixes: .ppl
    Enabled: Yes

    I noticed it said in the instructions that the dot should be included before the extension - is this what you did too ?

    thanks,
    basm101
      The About plugins looks all right to me. How about your Edit/Preferences/Navigator/HelperApplications? Do you see an "application/x-perlplus" listed in there? Here's what you should set:
      Description of Type: PerlPlus Plugin File Extension: .ppl MIME Type: application/x-perlplus Application to use: /usr/bin/perl $1
      I have also successfully used the path to my perlplusplugin.so as the "application to use."
        Well...I have an improvement - the system is recognising there is a perl script to run.
        However, it still doesnt actually run it !

        I tried changing the "Application to use" path. It didnt work when I used the path to my perlplusplugin.so.
        In fact it wouldnt even attempt to go to the url.

        Then I changed it to usr/bin/perl $1 and I got the message
        "Warning: this is an executable perl script. Execute the script ?"

        However, clicking yes didnt work - no program appeared.

        I changed the path to point to what I put on top of my tk scripts.
        It gave me the warning -but still no program actually ran.

        What does the $1 mean ?
        My file extension says ppl not .ppl,I try and change it to .ppl
        but it doesnt seem to update.

        Do you get the same "Warning box" before your perl tk scripts run ?

        thanks again for all your help,
        basm101