You need to read and understand the documentation on printf. (Click the preceding link and read.)
You might consider taking a Perl programming course or at least buying or borrowing a book.
Try this free, online Perl Pprogramming book for beginners.
In reply to Re^13: how to access elements in perl
by BrowserUk
in thread how to access elements in perl
by grewal7634
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |