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 6036 Oct 31, 2001, 1:59 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Paul 5956 Oct 31, 2001, 2:03 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Super 5980 Oct 31, 2001, 2:09 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Paul 5971 Oct 31, 2001, 2:12 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Super 5922 Oct 31, 2001, 2:30 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Bearwithme 5914 Oct 31, 2001, 2:35 PM
Thread Re: [Bearwithme] Unable to compile ... home.pm line 1044
604 5974 Oct 31, 2001, 2:39 PM
Thread Re: [TheStone] Unable to compile ... home.pm line 1044
Paul 5973 Oct 31, 2001, 2:48 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Alex 5930 Oct 31, 2001, 4:06 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
Paul 5871 Oct 31, 2001, 4:13 PM
Post Re: [TheStone] Unable to compile ... home.pm line 1044
ktt 5856 Nov 1, 2001, 11:46 AM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Alex 5924 Oct 31, 2001, 2:55 PM
Thread Re: [Alex] Unable to compile ... home.pm line 1044
Bearwithme 5927 Oct 31, 2001, 3:22 PM
Post Re: [Bearwithme] Unable to compile ... home.pm line 1044
Super 5937 Oct 31, 2001, 3:27 PM
Thread Re: [Bearwithme] Unable to compile ... home.pm line 1044
Alex 5912 Oct 31, 2001, 4:07 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
Bearwithme 5851 Nov 1, 2001, 4:30 AM
Thread Re: [Alex] Unable to compile ... home.pm line 1044
Alex 5912 Oct 31, 2001, 6:19 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
TheFox 5850 Nov 1, 2001, 6:11 PM