Re: [PHP] unable to load perl extension

2005-12-31 Thread dev lamp
On 12/31/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Thu, December 29, 2005 9:17 am, dev lamp wrote: > > Scenario 2: > > the perl extension does not get loaded and the PHP script crashes. > > Define "crashes"... > > Does it literally crash the PHP/

[PHP] ternary operator in heredoc string

2005-12-31 Thread dev lamp
Hi I am trying to use the ternary operator inside heredoc string to select the bgcolor based on the flag value, but it does not seem to work. $summary=<< $reqno STR; I looked up php documentation but could not find any details. What would be an optimal way to write the code for the above sit

Re: [PHP] unable to load perl extension

2005-12-29 Thread dev lamp
On 12/29/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > dev lamp wrote: > > Hi > > > > I am unable to call perl code from PHP, since the extension does not > > get loaded ! > > > > Scenario 1: > > use dl('perl.so'); in the php code an

[PHP] unable to load perl extension

2005-12-29 Thread dev lamp
Hi I am unable to call perl code from PHP, since the extension does not get loaded ! Scenario 1: use dl('perl.so'); in the php code and invoke the script from the command line The script works fine and the perl code gets executed as well. Scenario 2: the perl extension does not get loaded and th

[PHP] how to call perl code from PHP

2005-12-29 Thread dev lamp
Hi I am unable to call perl code from PHP, since the extension does not get loaded ! Scenario 1: use dl('perl.so'); in the php code and invoke the script from the command line The script works fine and the perl code gets executed as well. Scenario 2: the perl extension does not get loaded and th