Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Why are .pl interpreted the wrong way

FirestormFirestorm Member Posts: 162
I wrote a small .pl file and started it in the dos command with
I got what I expected
BUT if I want to view the file in a browser I type the folowing into the adress bar
and I don't only see the text which should be printed bit also all comments and declarations (the whole code!)

[red]What have I done wrong?[/red]

[email protected]


  • ManishManish Member Posts: 119

    I think this is because IE does not know how to open/run .PL files, so it is opening the script files as a text file and displaying it. See documentation at to configure your Perl interpreter to work with IE.

    See the webserver docs or your Perl Interpreter docs on how to associate .pl files with your perl interpreter program.



    Check out Internet Development forum at

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    _ ( ) free video tutorials and ebooks about \ Go, JavaScript, Assembly, PHP, Python, Visual Basic .NET, C, Objective-C, Java, PL/SQL, Delphi, Perl, Visual Basic, MATLAB, Ruby, C++, Swift, Scratch, R, C# Clojure, Hack, VBScript, Ada, Crystal, Scala, FoxPro, LabVIEW, Lua, Transact-SQL, Rust, D, Julia, Scheme, ABAP, Awk, Apex, Logo, SAS, Fortran, Prolog, Dart, Erlang, Alice, F#, ML, Lisp, Bash, COBOL, Kotlin \ _______

Sign In or Register to comment.