in reply to Uninitialized Value Error When Interleaving
Secondly, running your sample produces no warnings for me. It probably shouldn't. However if @foo and @bar don't have the same number of elements (specifically, if @foo is short) then you'll get enough undef values in the array to make up the difference.
Thirdly, did you really mean to print and do the assignment at the same time? Yeah, you'll get the return value from the assignment printed, but is that really what you wanted? (Tends to be ugly, that's all).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Uninitialized Value Error When Interleaving
by La12 (Sexton) on Jul 03, 2001 at 03:07 UTC | |
by clintp (Curate) on Jul 03, 2001 at 16:39 UTC | |
by La12 (Sexton) on Jul 09, 2001 at 18:07 UTC |