that part where you inserted your code fills the variables.
In Perl you can run a regular expression. The expression return true or
false. If the expression is true. you can access the content of "(...)".
look at my code. I inserted your code a little bit later. After the
empty check. There it will be processed anyway.
Rudi
Am Montag, 4. März 2013 16:58:26 schrieb Tanstaafl:
> On 2013-03-03 3:05 PM, Christian Boltz <pos...@cb...> wrote:
>> The first "true" condition (which is the "/^from:\s*(.*)\n$/i" check for
>> lines starting with "from:") "wins".
>
> Ok... so, what, exactly, is that line testing for? I can't tell by
> looking at it... ;)
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Postfixadmin-devel mailing list
> Pos...@li...
> https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel
|