in reply to Re: Re: Uninitialized Value Error When Interleaving
in thread Uninitialized Value Error When Interleaving
Um, that's exactly what I had (that is, "perl -w" is the same as "use warnings"). But as I and others have said, it's not usually a great idiom, as it's destructive to @foo. And you'll still have undefined values if @foo is shorter than @bar.