Ivan Gromov wrote:
>
> Rob Dixon wrote:
>>
>> print() is one of the built-in functions that can't be overridden. You will
>> have to use a source filter or simply edit your Perl program. Take a look 
>> at
>>
>>   perldoc perlfilter
>>
>> for guidance on the former option.
>>
>> By the way, you have an argument count of 3 in your call to perl_parse, but
>> the command_line array has only two elements. It shouldn't cause any 
>> problems, it's just wrong :)
> 
> Ok. I will consider perldoc perlfilter.I think it is what I need.
> Additionally, it was my mistake in my call perl_parse, because I missed 
> "-e" in char* command_line[] = {"", "-e", “./script.pl”};

No, your parameters were right as they were. If you add -e perl will try to
execute the string "./script.pl" as a Perl program instead of opening the file.

Rob

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to