Can any
print Links::Build::build('detailed', { %$rec, %$globals, error => $error_msg });
print Links::SiteHTML::display('detailed',{ %$rec, %$globals, error => $error_msg });
Can anyone explain why the first one won't pass/print the error and the second one will?
Thanks,
mp
Code:
my $error_msg = "don't do that."; print Links::Build::build('detailed', { %$rec, %$globals, error => $error_msg });
print Links::SiteHTML::display('detailed',{ %$rec, %$globals, error => $error_msg });
Can anyone explain why the first one won't pass/print the error and the second one will?
Thanks,
mp