That's because you have mis-spelled $buildTarget by omitting the letter l. Using strict has saved your bacon.
In reply to Re: Global symbol "$buidTarget" requires explicit package name
by hippo
in thread Global symbol "$buidTarget" requires explicit package name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |