Gossamer Forum
Quote Reply
Global Compile Error
Ok... can someone tell my why this won't compile?

Code:


sub {

my $cat;

my ($cat) = $DB->table('Category')->select(['Full_Name'],{ ID => $category_id})->fetchrow_array;
return $cat;

}




Probably something really basic, I am sureCrazy

I am just trying to return the corresponding Full_Name for the category_id I find in GT::Dump on browser_category.html. I just thought this may be simpler than the solution at:http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=195650.
Subject Author Views Date
Thread Global Compile Error Ian 4023 May 13, 2002, 2:18 PM
Thread Re: [sooke] Global Compile Error
Paul 3934 May 13, 2002, 2:31 PM
Thread Re: [Paul] Global Compile Error
Ian 3934 May 13, 2002, 2:56 PM
Thread Re: [sooke] Global Compile Error
Paul 3948 May 13, 2002, 3:00 PM
Thread Re: [Paul] Global Compile Error
Ian 3919 May 13, 2002, 3:11 PM
Thread Re: [sooke] Global Compile Error
Paul 3921 May 13, 2002, 3:41 PM
Post Re: [Paul] Global Compile Error
Ian 3891 May 13, 2002, 4:06 PM
Thread Re: [sooke] Global Compile Error
webmaster33 3912 May 14, 2002, 1:39 AM
Post Re: [webmaster33] Global Compile Error
Ian 3890 May 14, 2002, 7:50 AM