in reply to How to access each element in an array Perl
...How to do this please let me know.
How would you do it? How do I post a question effectively? might also do.
Howbeit, to give a headup doing thus is one way of getting your desired output:
Please check index and substr. Also please note what choroba said.my @arr = qw(Larrywall); print substr( $arr[0], index( $arr[0], q[y] ), 1 );
|
|---|