http://www.perlmonks.org?node_id=1187645


in reply to Re^9: global var
in thread global var

What are you using to edit the scripts, Padre ? Which OS ?. Are scripts on lowesthosting server or your own localhost ?.

Vista,Padre and Notepad ++. Edit Notepad ++ check in Padre.

Both lowesthosting and localhost. I gave up trying to test on local host Back and forth with the config to prevent links etc. going on line

If Padre, use View->Show Newlines. If they show CRLF then use Edit->Covert Line Endings-> EOL To Unix. They should now show LF.

Ugh. Every one is CRLF.

Changed them all. No difference.

Are the crlf from word wrap i Notepad ++? I had WR on for some specific text file I was printing.Did not thin the WR would apply to all files.

<p? Thanks for input

Replies are listed 'Best First'.
Re^11: global var
by poj (Abbot) on Apr 11, 2017 at 14:09 UTC
    Changed them all. No difference.

    No difference to what ? Does the test script work when opened with browser. If not what error do you get

    Word wrap is just a viewing option, it has no effect on the file

    poj

      Does the test script work when opened with browser. No.

        When you accessed the script with the browser, what errors did you get in the Error Log in cPanel as shown here Error Log

        poj