in reply to print if warn

I think you're perhaps getting a little confused here since you can't know the _value_ of a variable if it's uninitialised, hence the warning. Also, I very much doubt you can easily find the name of the variable either (unless you do some serious perl grokking ;o).
HTH

broquaint