>>
>> Note the missing "she-bang" line: #!/usr/bin/perl -w   Note also that I
>> didn't tell the shell "how" to execute the file. So the file is set to
>> executable, but I thought it should error. Is that line not necessary 
>> on
>> a Mac for some reason? How is this a Mac thing? It is not functional on
>> other unix  machines I have access to (and I tried various shells,
>> including tcsh & bash). I repeated the experiment with no ".pl"
>> extension, that isn't it.
>>
>> I suspect that it is a shell issue of some kind.
>>
>> /Michael Turner
>>
>
> Not an issue. No shebang line means that 'exec(2)' will invoke your 
> standard
> shell on it. 'print' is defined in some 'bash' or 'ksh' environments, 
> or you
> may have such an alias or local program.
>

Bob,

Thanks for your response. I remain puzzled, however. Your response seems 
to imply that if I invoke "print" from the command line, it will be 
interepreted. This is not the case, it errors.

/Michael Turner


Reply via email to