in reply to How to disable:Odd number of elements in hash assignment warning?
I think disabling warnings for this kind of thing is perfectly fine but this occurs to me as an alternative; not expressing a preference–
sub crommulate { push @_, undef if @_ % 2; my %bingo = @_; # ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to disable:Odd number of elements in hash assignment warning?
by BrowserUk (Patriarch) on Sep 23, 2016 at 19:15 UTC |