in reply to Recover Excel datas

So, what is in $data? Maybe it is not an URL but something else?

Try to print it to see what it contains.

Replies are listed 'Best First'.
Re^2: Recover Excel datas
by Perlchaoui (Sexton) on Nov 14, 2018 at 14:13 UTC

    Just a string like "Test"

    But no URL

      Why are you treating a string "Test" as a valid URL and trying to visit it?

        Correct !

        Here the defect dear. I am sorry regarding this post i totally forgot to delete a line in the code.

        All is fine now. Thank you Corion for your support