On Wed, 21 Sep 2005, macromedia wrote:

> I have a file that I would like to read in then do the following:
> 
> - Read in each line and remove any duplicate text with tags
> - Sort the file so all tag IDs are in sequential order
> - Save the results to a different file name.
> 
> Can this be done easily? If so, how? I'm really a newbie at this
> stuff. Any help would be greatly appreciated.

Standard protocol on this list is to show us what you've tried first, 
then ask for help with the parts you're stuck on. 

You show a problem description and some sample data, but no code.

Show some code, and we can critique and assist with it. 

What, if anything, have you tried so far? 

You've broken the larger problem into some steps. That's good. Now break 
those steps down a bit more until you have manageable chunks of the 
problem that can be expressed as Perl statements in a script.

You've already almost broken things down to the point that you could 
look up your own answers by browsing through _Perl Cookbook_. 

So, again. What, if anything, have you tried so far?



-- 
Chris Devers

ãi•6^ŎµÊ½
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

Reply via email to