Thank you, Abigail.
Are you sure of you? That is, are you sure that under mod-perl it is not possible that $Report be empty? My idea is that the scope of the variables could be different between the "main" and note()? And this, not in standard perl but in mod-perl.
Pierre