Gossamer Forum
Quote Reply
Why can't I do this?
I have made this global that I want to use in a second LINKS SQL installation (ie pull info from another installation) - but I get tons of errors..

Can anyone see what I am doing wrong?

sub {
use lib \'...\';
use Links qw/$IN $DB $CFG/;
use Links::Plugins;
use GT::Date;
Links::init(\'...\');
Links::init_user();


my $user = shift;
my $loop = $DB->table(\'Links\')->select( { LinkOwner => $user } )->fetchall_arrayref({});
return { my_total => scalar @$loop, my_links => $loop };
}

http://www.ameinfo.com

Last edited by:

Paul: Apr 11, 2003, 8:54 AM
Subject Author Views Date
Thread Why can't I do this? klauslovgreen 2703 Jan 17, 2003, 1:16 AM
Thread Re: [klauslovgreen] Why can't I do this?
yogi 2636 Jan 17, 2003, 1:33 AM
Thread Re: [yogi] Why can't I do this?
klauslovgreen 2628 Jan 17, 2003, 1:49 AM
Thread Re: [klauslovgreen] Why can't I do this?
klauslovgreen 2575 Apr 11, 2003, 8:47 AM
Thread Re: [klauslovgreen] Why can't I do this?
Paul 2573 Apr 11, 2003, 8:56 AM
Post Re: [Paul] Why can't I do this?
klauslovgreen 2554 Apr 11, 2003, 8:59 AM