1) how do I call a global? From within scripts and within a template? Can it be done within a template?
2) I have some code registered to run on the delete_link hook, but for the life of me I can't get anything out of the hash. e.g I am doing something like this
sub myFunction {
my($dontcare, $link) = @_;
# want to use $link in here but I can't seem to access anything. eg $link->{ID} doesn't give me anything.
}
2) I have some code registered to run on the delete_link hook, but for the life of me I can't get anything out of the hash. e.g I am doing something like this
sub myFunction {
my($dontcare, $link) = @_;
# want to use $link in here but I can't seem to access anything. eg $link->{ID} doesn't give me anything.
}