Gossamer Forum
Quote Reply
Re: Documentation Error: In reply to
Hi,

I've changed it to:

Code:
unless (exists $DB->table('Links')->cols->{'Review'}) {
my $editor = $DB->table ('Links');
unless ($editor->add_col ( 'Review', { type => 'TEXT' }) {
$Plugins::Pluginname::error = "Unable to add column to Links: $GT::SQL::error";
return;
}
}
Or is this a little confusing (the chaining of functions) and I should spell it out a little more.

Cheers,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread Documentation Error: pugdog 2577 Feb 27, 2001, 9:58 PM
Post Re: Documentation Error:
Paul 2470 Feb 28, 2001, 4:53 AM
Thread Re: Documentation Error:
Alex 2490 Feb 28, 2001, 11:47 AM
Post Re: Documentation Error:
pugdog 2471 Feb 28, 2001, 5:57 PM