WizyWyg,
I don't know if it was an error or not, but rwasiniak74 talks of hiding source from users server side (where the server is) and you are talking of hiding source from users client side (where the web browser is).
Client Side: Consider locking down telnet access if you are concerned about theft of PHP/PERL scripts. You can actually go a long way towards protecting JavaScript client side but it is never 100% bullet proof. You can 99.99999% lock down MSIE, and maybe 99.0% lockdown Mozilla, but because you never aimed to prevent the data being downloaded you cannot prevent it from being stored or displayed by some other (i.e. unknown) client application.
Server Side: Use admin rights to prevent access to certain directories so that only certain members of staff can read the files. This works for sensitive PHP/PERL scripts but is no use for JavaScript because the user can grab via a client.
----------
I'm willing to trade custom scripts for... [see profile]