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 6012 Oct 31, 2001, 1:59 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Paul 5932 Oct 31, 2001, 2:03 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Super 5956 Oct 31, 2001, 2:09 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Paul 5948 Oct 31, 2001, 2:12 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Super 5896 Oct 31, 2001, 2:30 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Bearwithme 5891 Oct 31, 2001, 2:35 PM
Thread Re: [Bearwithme] Unable to compile ... home.pm line 1044
604 5950 Oct 31, 2001, 2:39 PM
Thread Re: [TheStone] Unable to compile ... home.pm line 1044
Paul 5950 Oct 31, 2001, 2:48 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Alex 5907 Oct 31, 2001, 4:06 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
Paul 5848 Oct 31, 2001, 4:13 PM
Post Re: [TheStone] Unable to compile ... home.pm line 1044
ktt 5833 Nov 1, 2001, 11:46 AM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Alex 5901 Oct 31, 2001, 2:55 PM
Thread Re: [Alex] Unable to compile ... home.pm line 1044
Bearwithme 5902 Oct 31, 2001, 3:22 PM
Post Re: [Bearwithme] Unable to compile ... home.pm line 1044
Super 5914 Oct 31, 2001, 3:27 PM
Thread Re: [Bearwithme] Unable to compile ... home.pm line 1044
Alex 5888 Oct 31, 2001, 4:07 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
Bearwithme 5828 Nov 1, 2001, 4:30 AM
Thread Re: [Alex] Unable to compile ... home.pm line 1044
Alex 5888 Oct 31, 2001, 6:19 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
TheFox 5827 Nov 1, 2001, 6:11 PM