I replaced "=" with "eq". Now the warning is not there.
In reply to Re^2: Odd behaviour of Parallel::ForkManager by ravi45722 in thread Odd behaviour of Parallel::ForkManager by ravi45722