in reply to Email::Store segfault when using DBD::Sybase

Hi,

Please post a sample script of what you are trying to do. The snippets you provided aren't enough to provide a reasonable answer

Thanks :)

Jason L. Froebe

Team Sybase member

No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

  • Comment on Re: Email::Store segfault when using DBD::Sybase

Replies are listed 'Best First'.
Re^2: Email::Store segfault when using DBD::Sybase
by rgcosma (Beadle) on Nov 10, 2005 at 18:15 UTC
    Toanswer several questions in one message:
    - I can talk nicely to the MS SQL server (2000), tested with several other perl scripts on this machine. The script really is just this:
    #!/usr/bin/perl use warnings; use DBI; use Email::Store ('dbi:mysql:server=127.0.0.1;database=test','test','t +est'); undef $/; $mail = <>; $/ = "\n"; Email::Store::Mail->store ( $mail );
    Side-notes - SQL Translator gave me some errors when doing Email::Store->setup: SQL 2000 wants "col_name int identity" not "col_name identity int(11)" also for some weird reason it insisted on converting text fields to varchar(65535) so I created the needed tables by hand.
      It doesn't appear that Email::Store has been tested with SQL Server or Sybase. I would recommend working with Simon Cozens to extend and test the module for use with TSQL based servers.

      Jason L. Froebe

      Team Sybase member

      No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

        It also appears Simon Cozens is no longer maintaining the module, or at least that's what the quote "And you can stop emailing me about my Perl modules now. I don't care" in his blog makes me think :)