Technology, Web & Business Forum

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


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 04-01-2008
Junior Member
 
Join Date: Mar 2008
Posts: 2
Default Perl Programming?

I have several questions about very basic programming.
1.) If I have an array of hashes, how would I sort based on one parameter? For example:

555444333 Smith Ana
666777888 Jones Brian
333444555 Adams Tom

How would I get this list in numeric order?

2.) How could I use split to determine that there are exactly 3 pieces of data per line, the first piece containing 9 characters, the second comtaining up to 9, and the last containing up to 9 (allowing for more than one space between each piece of data)

3.)How would I traverse the list of data once it has been sorted??

Thank you so much for any help!!
__________________
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:26 PM.