Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Question for Alex / Code of Build.pm

Quote Reply
Question for Alex / Code of Build.pm
Hi Alex, hi all,
thank Pugdog i found in build.pm / sub build_detailed
this peace of code:

Code:
if (exists $link->{ID}) {
my $id = $link->{ID};
$link = $link_db->get ($id, 'HASH');

So please Alex, why do you get the hash again?
Itīs passed from nph_build.cgi / sub _build_detailed
with:

Code:
print DETAIL Links::Build::build ('detailed', $link);


Why get it once again?

(Have tried to pass other data from A to B some hours and wondered
why nothing comes tru ;-)

I have commented out this line now, but im not shure, if i need it
on some other thing.

Maybe it should read:

Code:
if (!exists $link->{ID}) {
$link = $link_db->get ($id, 'HASH');
}



Robert