|Just another Perl shrine|
Re^3: Warning while using ternary operatorby BrowserUk (Pope)
|on Dec 16, 2013 at 11:14 UTC||Need Help??|
But my question is where does $i ne 'one' is happening in my code ? $i is assgined to 'one' and not getting changed.
The point is that the compiler knows at compile-time that 'nothing' is in a void context; so it warns you.
You can choose to ignore that warning; or you could even disable it; but it is surely better to simply correct the code.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.