No size is not an issue.  I am writing a compare routine and the file
has different sections that all need to be split up differently
depending on the section to parse out the key value pairs so I can
compare.   

Thanks for the suggestions.


On Tue, 2003-12-30 at 09:53, James Edward Gray II wrote:
    On Dec 30, 2003, at 10:45 AM, Eric Walker wrote:
    
    > The lines will always be defined but I need to process that previous
    > line.  I am still kinda in the closet on what you mean.
    
    my $current = $_;
    # process $current here...
    
    Other choices:  If file size isn't an issue, just slurp the whole think 
    into an array and use indexing.  If it is, use Tie::File.
    
    Good luck.
    
    James
    
    
    
    
    


-- 
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