You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mark Martinec <Ma...@ijs.si> on 2010/02/01 14:35:20 UTC
Re: Magical mystery colon
On Saturday January 30 2010 21:16:01 Philip A. Prindeville wrote:
> Also, how come the eval block:
> unless (eval "require $thing") {...}
> doesn't contain a terminating ';', i.e.:
> eval "require $thing;" instead?
It is not needed. It is an 'eval EXPR', not 'eval BLOCK'.
A semicolon in perl is a statement separator, not a statement terminator.
Mark
Re: Magical mystery colon
Posted by "Philip A. Prindeville" <ph...@redfish-solutions.com>.
On 02/01/2010 05:35 AM, Mark Martinec wrote:
> On Saturday January 30 2010 21:16:01 Philip A. Prindeville wrote:
>
>> Also, how come the eval block:
>> unless (eval "require $thing") {...}
>> doesn't contain a terminating ';', i.e.:
>> eval "require $thing;" instead?
>>
> It is not needed. It is an 'eval EXPR', not 'eval BLOCK'.
> A semicolon in perl is a statement separator, not a statement terminator.
>
> Mark
>
Ok. No one knows why I'm seeing the warnings from the cron job, however?