P is for Practical | |
PerlMonks |
Re: not able to pass foreach value to a while loopby 1nickt (Canon) |
on Sep 01, 2015 at 03:48 UTC ( [id://1140599]=note: print w/replies, xml ) | Need Help?? |
Update: The OP was completely changed while I wrote this reply, including the subject. OP below. My answer to the revised question further below. Original post: for some reason, i want to pass certain value in @array to the while loop, but my code only allows me to pass the first value. Below is the result i want to get, Can anyone help me out? T_T Original post ends here
Reply starts here Use for:
Output:
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|