Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Typo in GT::SQL::Condition ?

Quote Reply
Typo in GT::SQL::Condition ?
Hi... should be following bit in read read as it does in the GT::SQL::Condition documentation ?

Quote:
my $cond = GT::SQL::Condition->new(
'FirstName', 'LIKE', 'Alex%',
'LastName', 'LIKE', 'Krohn%'
);
$cond->bool('or');
my $cond2 = GT::SQL::Condition->new(
$cond1,
'Employer', '=', 'Gossamer Threads'
);

Should that not say $cond ?

Just thought I would let you know, cos it looks wrong to me :p

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Typo in GT::SQL::Condition ? In reply to
Yup, that's a typo. We'll fix that up.

Cheers,

Alex
--
Gossamer Threads Inc.