The stupid question is the question not asked | |
PerlMonks |
Re: trying to format a phone listby aaron_baugher (Curate) |
on Apr 28, 2015 at 02:30 UTC ( [id://1124948]=note: print w/replies, xml ) | Need Help?? |
This is a fairly complex task for a "total noob." You need to know how to:
All those topics would be scattered through several chapters of any book on learning Perl, so don't feel bad if you struggle with it for a while. Start at the top of the list and work your way down: learn how to read and write files, how to loop through a file line-by-line, and so on, and you'll get there. Just for fun, here's a one-liner solution that leverages the Unix sort utility so I don't have to do it in Perl. When you can figure out what this is doing, you won't be a noob anymore.
Aaron B.
In Section
Seekers of Perl Wisdom
|
|