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 3247 Feb 27, 2001, 9:58 PM
Post Re: Documentation Error:
Paul 3120 Feb 28, 2001, 4:53 AM
Thread Re: Documentation Error:
Alex 3135 Feb 28, 2001, 11:47 AM
Post Re: Documentation Error:
pugdog 3118 Feb 28, 2001, 5:57 PM