No executables in /tmp

Von Fugal von at
Wed Apr 5 11:08:18 MDT 2006

* justin gedge [Tue, 28 Mar 2006 at 09:32 -0700]
> I know the #!/usr/bin/perl along w/ an executable file tells UNIX that 
> you need to run the /usr/bin/perl executable- is everything else in the 
> script passed to perl through STDIN, it can't be- there has to be some 
> other mechanism-

Basically, the shell sees the #! and turns around and executes:
<command after #!> <filename>
so a script called with #! /usr/bin/perl would result in the
shell doing this:

Von Fugal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : 

More information about the PLUG mailing list