Posted on 2008-09-02 21:58:15-07 by gw1500se
Mail::Field::Received does not seem to work under Cygwin
I am having no luck getting 'parse()' to work under Cygwin. When I try to parse a received header all I get is:
received - $VAR1 = bless( { 'Diags' => '** Ran out of things to match at position 0: <<< >>>Received: from mail.universia.net ( ', 'parsed_ok' => 0, 'parse_tree' => { 'whole' => 'Received: from mail.universia.net (baterno.univ.corp [192.168.41.103]) by daganzo.mx1.universia.net (Postfix) wit h SMTP id D191B1F5572; Thu, 7 Aug 2008 01:12:34 +0200 (CEST) ', 'parse_failed' => 1 }, 'Text' => 'Received: from mail.universia.net (baterno.univ.corp [192.168.41.103]) by daganzo.mx1.universia.net (Postfix) with SMTP id D191B1F55 72; Thu, 7 Aug 2008 01:12:34 +0200 (CEST) ' }, 'Mail::Field::Received' );
Can someone help me figure out why it always fails with Cygwin? TIA.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.