OK. Thanks.
Regards,
Félix
Juerd escribió:
> Félix Horro Pita skribis 2006-06-20 11:23 (+0200):
>> if ( ($args[0]!~/\d+/) ){
>
> Note that a regular expression can match anywhere in the string.
>
> So the string "hello 20 world" does match \d+, because there's 20 in it.
>
> The trick is to use anchors: /\A \d+ \z/.
>
>> return DENYSOFT_DISCONNECT, "Too much recipients (Max.
>> ".$self->{maxrcpt}." adresses)";
>
> Hash(reference) elements can be interpolated:
>
> "... (Max $self->{maxrcpt} addresses)"
>
> (And note that address has 2 Ds)
>
>
> Regards,
>
> Juerd