How can i do this.
Change something; run the code, see how the output changes. Repeat.
You say you are learning Perl. You won't learn anything until you start trying things for yourself.
I gave you code to get you started, because that's the hardest part. Now you need to start trying things for yourself.
When you have a specific problem you cannot solve, I'll help you. But I won't do it for you.
In reply to Re^9: how to access elements in perl
by BrowserUk
in thread how to access elements in perl
by grewal7634
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |