On Dec 17, 2003, at 8:10 AM, Hemond, Steve wrote:

Hi people,

I have finished some little perl scripts that gives basic infos to my
users. I want to make these perl scripts available to all users (so I
would probably put them in /usr/local/bin).

However, my perl scripts has the .pl extension, and I would like them to
keep this extension for finding purposes (like if I need to find all .pl
files are in /usr/local for example). The users are used to enter a
command without having to type the extension (ls, who, etc.) so that
wouldn't be a good idea for them to call my perl script with the
extension. What would be the best thing to do if I don't wanna lose the
.pl extension?

I assume we're talking about some Unix flavor here and given that, I really can't see a reason to keep them. Couldn't you just as easily grep for the perl shebang line to find them again when needed? Better yet, keep copies in a source directory for editing and whatever else. Upgrading is a simply copy at that point, right?


Well, hope that gives you some ideas.

James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to