[Dbix-class] packaging a script that uses DBIx::Class

RAPPAZ Francois francois.rappaz at unifr.ch
Thu Aug 28 14:17:02 GMT 2014


Well, finally I was just impatient

The packaging with pp works and the modules I had to add with the -M option were:

-M Variable::Magic
-M Dbc::Schema::Result::Commande
-M Dbc::Schema::Result:: ... and so on for all my tables
-M Dbc::Schema::ResultSet
-M SQL::Abstract

Dbc is the folder where my DBIx (sub) classes are.

Best
François

> -----Original Message-----
> From: RAPPAZ Francois [mailto:francois.rappaz at unifr.ch]
> Sent: mardi, 12. août 2014 17:00
> To: dbix-class at lists.scsys.co.uk
> Subject: [Dbix-class] packaging a script that uses DBIx::Class
> 
> Hi
> 
> I wrote an application using DBIx::Class to access data on mysql. The
> script work well but the packaging with pp hangs: the "pp: Writing PAR
> on C:\Users\ ... " when verbose is on, stay for 20 minutes, whereas the
> same application using sql and DBI is packed in a few  minutes.
> 
> I suspect it's in the dependencies scan that the problem lies. My
> script calls "use Dbc::Schema;" which is where my data are, and this is
> the only call to the Dbix::Class stuff.
> 
> scandeps.pl -V -e "use Dbc::Schema;" does not return or does not give
> any output.
> 
> Thanks for any information on how to correct this.
> 
> François
> 
> 
> 
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-
> class at lists.scsys.co.uk



More information about the DBIx-Class mailing list