in reply to Re: Incorrect number of values in list assignment
in thread Incorrect number of values in list assignment

I wonder if it would be possible to add optional warnings so the behavior of "use warnings" won't change but I'd be able to turn this warning on. Maybe with an additional line of "use warnings 'count_elemnts'".
  • Comment on Re^2: Incorrect number of values in list assignment

Replies are listed 'Best First'.
Re^3: Incorrect number of values in list assignment
by chromatic (Archbishop) on Sep 06, 2010 at 19:32 UTC

    Sure, that's even easier to implement than a custom op—probably a dozen lines of code. I don't know if p5p would favor it though.

Re^3: Incorrect number of values in list assignment
by ikegami (Patriarch) on Sep 07, 2010 at 05:40 UTC