|P is for Practical|
It worked only if called fom a CMD console
So, it works then.
but not if I double click over it or it's shortcut...
Why would you double click a .pl file instead of double-clicking the .html file?
Why would you set up a short-cut to point at a.pl file to load a .html file, when you could just point the shortcut at the ,html file?
(If you really need to do these things, read your docs about wperl.exe).
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.