go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello Monks.
I think this is a simple question. But somehow not working for me. Can we use an array element as a loop iterator for another array? Here is the code which fails(Ignoring all strict and other things).
Error: syntax error at -e line 1, near "$a[" I have checked. This works with a c-style for loop.
Similar thing works in python. What is the mistake in this due to which it is failing. Would be thankful for your help In reply to Using an array element as a loop iterator by gurpreetsingh13
|
|