Perl errors - Handling ?

  • Ulrich Herbst

    Ulrich Herbst - 2005-08-10


    I get some perl errors for my project in the problem window (tab ?, view ?) like:

    1. 'Too late for "-T" option'.
    What should I do, for a CGI script Taint mode isn't bad ?

    2. 'Syntax error in line ...'.
    But there isn't a syntax error, script is running (with this line) flawless.

    With other words: How can I suppress some messages ?


    • Oliver Brusberg

      Oliver Brusberg - 2005-08-11


      1. Taint mode in shebang line is not enough (well, it's too late there). Run the script in taint mode by checking Window -> Preferences -> Perl EPIC -> Enable taint mode.

      2. Don't know, when this happens to you. I noticed, that  there are some modules (eg. Switch or Template) which are sometimes generating 'wrong errors' in the calling file after the use .... Probably a bug in the validation - don't know of a workaround or how to suppress them. I got used to ignore them.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks