Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [Bearwithme] Unable to compile ... home.pm line 1044

Quote Reply
Re: [Bearwithme] Unable to compile ... home.pm line 1044 In reply to
Hi,

Just put the below scripts into template global:

sub {
my $tags = shift;
my $sql = $tags->{home}->{sql};
my $sth = $sql->table('Sample')->select();
return $sth->rows;
}

And then, you have to add <%function_name%> in template file.

Cheers,
TheStone.


B.

Last edited by:

TheStone: Oct 31, 2001, 2:40 PM
Subject Author Views Date
Thread Unable to compile ... home.pm line 1044 Super 5381 Oct 31, 2001, 1:59 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Paul 5314 Oct 31, 2001, 2:03 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Super 5345 Oct 31, 2001, 2:09 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Paul 5333 Oct 31, 2001, 2:12 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Super 5286 Oct 31, 2001, 2:30 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Bearwithme 5283 Oct 31, 2001, 2:35 PM
Thread Re: [Bearwithme] Unable to compile ... home.pm line 1044
604 5346 Oct 31, 2001, 2:39 PM
Thread Re: [TheStone] Unable to compile ... home.pm line 1044
Paul 5316 Oct 31, 2001, 2:48 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Alex 5294 Oct 31, 2001, 4:06 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
Paul 5243 Oct 31, 2001, 4:13 PM
Post Re: [TheStone] Unable to compile ... home.pm line 1044
ktt 5231 Nov 1, 2001, 11:46 AM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Alex 5294 Oct 31, 2001, 2:55 PM
Thread Re: [Alex] Unable to compile ... home.pm line 1044
Bearwithme 5271 Oct 31, 2001, 3:22 PM
Post Re: [Bearwithme] Unable to compile ... home.pm line 1044
Super 5299 Oct 31, 2001, 3:27 PM
Thread Re: [Bearwithme] Unable to compile ... home.pm line 1044
Alex 5279 Oct 31, 2001, 4:07 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
Bearwithme 5217 Nov 1, 2001, 4:30 AM
Thread Re: [Alex] Unable to compile ... home.pm line 1044
Alex 5284 Oct 31, 2001, 6:19 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
TheFox 5220 Nov 1, 2001, 6:11 PM