Technology, Web & Business Forum

You are here: Technology, Web & Business Forum : Web Development : Programming : Introduction to Perl?


Welcome to the Technology, Web & Business Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Programming Discuss programming languages such as .NET, PHP, PERL, ASP, ColdFusion, C++


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-31-2008
Junior Member
 
Join Date: Mar 2008
Posts: 2
Default Introduction to Perl?

I am very new to this...so please bear with me..
I want to read in data from a file. Each file contains data that looks like the following:
Smith Anna 12345 abc
Jones Tom 54321 xyz
Adams Mike 22334 mno

I want to read in the data (which is in a file)...and store to manipulate it (sort based on the number). As in C++, I would read in each person into a node format. How do I do this in Perl?? I am finding the term "array of hashes" maybe? but again, I have no idea. Any example or help you could provide would be greatly appreciated!
__________________
Powered by Yahoo! Answers
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 07:24 PM.