Edit: Added Error and the code
Well, after a bit of experementation, I don't think Sprite is going to help... (I can't even get it to set up a table...)
Anyone know what this is suppost to mean?
perl worldbuild.pl
Oops! Sprite encountered the following error when processing your request:
Cannot write the database to output file. (\\world.stb)
Here's some more information to help you:
file:
No such file or directory
DBD::Sprite::db do failed: -511:Cannot write the database to output file.(\\worl
d.stb) at worldbuild.pl line 8.
This is the code:
use strict;
use DBI;
my $DBI;
$ENV{SPRITE_HOME} = "E:\\PRPG\\World\\";
$DBI = DBI->connect('DBI:Sprite:WORLD') || die "Could not connect (".$
+DBI->err.':'.$DBI->errstr.")!";
$DBI->do("CREATE TABLE WORLD (UID INT, X INT, Y INT, Z INT, IID INT)")
+;
"Weird things happen, get used to it"
Flame ~ Lead Programmer: GMS
http://gms.uoe.org
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.