Hello,
I have few questions.
I'm a beginner of Perl.
-------------------------------------------
id name address
1 cristine New York
2 murray Redmond
3 kumar Sunnyvale
-------------------------------------------
This is 'samples.xlsx' file-Excel type.
'id' string in A1, 'name' in B1, 'address' in C1 column in excel file.
Create a Perl script to store the information about student using the header as in raw 1.
The Perl script should be able to provide data of any student using the id or name or address. For example: If I need details that who is the person lives in Sunnyvale, the Perl script should give me back the result as Kumar.
What data structure I have used and why..
Try out usage of GetOptions in Perl script...
How can I manage duplicate data if any?
Please help me and answer me..
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.