in reply to Some automation on Perlscripts?
I think scanning a directory for files and making them executable without knowing what is really in there- is a security risk. If you already know what's in there, using chmod 0755 or whatever should not be a big deal.
I'm assuming here your ~/perl are scripts written- not something out of a package.
Consider putting your stuff in cvs/svn, making packages out of them- then you use your Makefile.PL to get those to install properly and chmod etc.
As for issue #1, I understand your point. I even agree. However, I feel this is a waste of time. For reference, may I suggest 'The Mythical Man Month' by Fred Brooks. He talks about this kind of thing. How coders are toolmakers, and when we go out to chop wood, we first sharpen the axe. Then we find a better way to sharpen the axe. Then we find a better way to prepare the better way to sharpen the axe. Then..
Anyhow. I think the solution for that shortcut you mention is better left to people writing the innards of perl itself. This is the kind of thing amateurs like us would just be shooting ourselves in the foot with.
++ For your ambition and curiosity. I applaude it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Some automation on Perlscripts?
by matze77 (Friar) on Dec 04, 2008 at 16:51 UTC | |
by leocharre (Priest) on Dec 04, 2008 at 20:39 UTC |