Testing with defined is much the same as deleting the -w.
The var is still not defined; you are just living with it.
Is it possible that a cgi using the -w and working fine may fall over at a later date if prel or a module that is used is upgraded or altered in some way?