Perl question
Bill Vermillion
fp at wjv.com
Thu Jun 17 14:01:43 PDT 2004
On Thu, Jun 17, 2004 at 04:53:37PM -0400, Bill Vermillion thus spoke:
> On Thu, Jun 17, 2004 at 01:50:12PM -0700, Steven Waters thus spoke:
> > So I am assuming that, #/usr/bin perl -T is ignored.
> > but, #!/usr/bin/perl -T is not?
One clarification:
> The magic number is used by the 'file' command to tell you what
> kind of file it is.
> To test just copy any file over to a new name and remove the !.
To test copy any shell type file over to a new name - any file
that starts with #!
That the univeral lead in for the entries in the magic file.
If it see #!/bin/csh it says its a c-shell program. If
its #!/bin/perl , or any perl path or " exec /bin/perl" it's the
same.
#! is the trigger and magic is scanned for the program name that
follows this sequence.
Bill
--
Bill Vermillion - bv @ wjv . com
More information about the Filepro-list
mailing list