The first line of the script had the magic incantation: #!/usr/local/bin/perl
(or something very similar) which makes the leading 'perl' superfluous. PHP scripts can be made into "self executing" scripts in a similar fashion if the 1st line looks like: #!/path/to/the/php/command/line/executable This only applies to Unix and the executable bit must be set. Mark C. > -----Original Message----- > From: Jurre Thiel [mailto:[EMAIL PROTECTED]] > Sorry, i didn't think of that. I still think exec('perl > perl.pl'); does the > job, not exec('perl.pl'); >> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php