Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Re: Enhancement: "hidden" code tagby sauoq (Abbot) |
on Mar 12, 2003 at 20:13 UTC ( [id://242492]=note: print w/replies, xml ) | Need Help?? |
The d/l code link doesn't actually download directly, it just displays the code in an easy-to-cut-and-paste format Not so. It's entirely specific to configuration and work habits. Just clicking on the link, on my work laptop running win and IE, results in an "open or view" dialog; the browser isn't configured to display it. On Linux, Lynx displays it and Mozilla, in my case, is configured to save it. Configuration issues don't even address users' preferred work flows. Some people will right click on it and save it directly. Others will copy the link and paste it into a terminal as an argument for wget or curl. (When I use the link, which is rarely, I usually fall into that last category.) Finally, even if none of that were true and copying and pasting were required, the issue I brought up remains. The problem isn't solved by just showing the code to everyone who downloads it. The code should be readily visible to everyone, period. A real problem with your suggestion is that it provides a way for someone to post malicious code that probably won't be viewed closely by those among us with more expertise but which may be run by those among us with less experience. -sauoq "My two cents aren't worth a dime.";
In Section
Perl Monks Discussion
|
|