in reply to simple question

The output from date is terminated by a newline and you have that in your string.

You should use chomp to strip off the newline like this:

$yr = `date -u +%Y`; chomp $yr;

Ed