Marcin 'Qrczak' Kowalczyk wrote:
> Now I understand, thanks strace. ghc -v tries to execute "time
> gcc ...", but perl does not pass the command line to sh if it does
> not contain shell metacharacters, tries to interpret it itself,
> and tries to execute a program named time which does not exist.
> [...]

Well, "time" is a builtin in bash and {,t}csh, but not in {,z,k}sh.
The same holds for e.g. kill, printf, test, ... I don't know much
about Perl's innards, but you should have equivalent standalone
programs in {,/usr}/bin, at least most Linux distributions, HP-UX,
etc. do.

Cheers,
   Sven
-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.informatik.uni-muenchen.de/~Sven.Panne

Reply via email to