in reply to Defined vs ne ""
This points out the problem with your code.Can't modify constant item in scalar assignment at test-define.pl line + 5, near ""","
The problem with your code is that the line should read:Bareword "loc" not allowed while "strict subs" in use at test-define.p +l line 3.
loc => "", # Your code was missing the ">", in BOTH lines where y +ou declare "loc"
"XML is like violence: if it doesn't solve your problem, use more."
|
|---|