You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Team,
I am trying to build a small demo application using Mojolcious and
DBIx::Class.
Here I am trying to run this script, which I have attached for reference.
D:\learning\perl_practice_scripts\tech_utsav>perl script\generate_schema
0.07040
Bizarre copy of UNKNOWN in scalar assignment at C:/Dwimperl/perl/site/lib/DBIx
/Class/Schema/Loader/Base.pm line 1059.
and the perl.exe gets hanged, stops working.
Please let me know your inputs or suggestions.
I have referred this link: "https://github.com/tempire/MojoExample/"
I have working schema for both sqlite3 and mysql. generate_script is something
like this:
##-----------------------------------------------------------##
use Modern::Perl;
use DBIx::Class::Schema::Loader 'make_schema_at';
my $DEBUG = @ARGV and $ARGV[0] =~ /^\-[\-]*v/;
say $DBIx::Class::Schema::Loader::VERSION ;#if $DEBUG;
my @dsn = 'dbi:SQLite:dbname=techutsav.db';
my $options = {
debug => $DEBUG,
dump_directory => 'lib',
components => [qw/InflateColumn::DateTime /],
generate_pod => 0,
};
make_schema_at(Schema => $options, \@dsn);
##-----------------------------------------------------------
Regards,
Satish.
DISCLAIMER: This email message and all attachments are confidential and may
contain information that is Privileged, Confidential or exempt from disclosure
under applicable law. If you are not the intended recipient, you are notified
that any dissemination, distribution or copying of this email is strictly
prohibited. If you have received this email in error, please notify us
immediately by return email to [email protected] and destroy the
original message. Opinions, conclusions and other information in this message
that do not relate to the official of SPAN, shall be understood to be nether
given nor endorsed by SPAN.
The text was updated successfully, but these errors were encountered:
Migrated from rt.cpan.org#97674 (status was 'new')
Requestors:
From [email protected] on 2014-08-01 16:30:49
:
The text was updated successfully, but these errors were encountered: