in reply to Re^4: Determining presence of odd number of hash elements, other syntax problems
in thread Determining presence of odd number of hash elements, other syntax problems

See perlrun on -M:

perl -w -M-warnings=uninitialized -e print+undef

Replies are listed 'Best First'.
Re^6: Determining presence of odd number of hash elements, other syntax problems
by ikegami (Patriarch) on Jul 20, 2011 at 20:55 UTC
    Note: -w will affect the script and modules, but -M-warnings=uninitialized will only affect the script.
Re^6: Determining presence of odd number of hash elements, other syntax problems
by nicku (Novice) on Jul 20, 2011 at 22:08 UTC
    perl -w -M-warnings=uninitialized -e print+undef

    As we say in Australia, “You little ripper! Your blood‘s worth bottling!” That solves one of the main problems. Thank you.