LRZ --

...and then LRZ said...
% 
% Is there? So that I don't have to constantly type it.

What editor are you using?  If you're using vim, the Real Man's* Editor,
you could define a command that checks each *.pl file you open for the
shebang line and puts it there if it's missing.  I have an alias "prog"
which I use for programming scripts; it starts my editor on the file
specified, and then after exit turns on execute permission and gives me
an ls of the file.  I've toyed with the idea of making it smart enough to
create the file with a standard template if it's called on a nonexistent
file...

Of course, you could just skip the shebang line and

  perl scriptname.pl

your scripts instead.


% 
% Thanks.

[*] That's "Man" in the non-discriminatory "Mankind" sense, of course.


HTH & HAND & you should see someone about that typing problem :-)

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg26463/pgp00000.pgp
Description: PGP signature

Reply via email to