develooper Front page | perl.beginners | Postings from February 2009

Re: Add Line break when first of a line changes

Thread Previous | Thread Next
From:
Jack Butchie
Date:
February 15, 2009 07:48
Subject:
Re: Add Line break when first of a line changes
Message ID:
000301c98f84$e188be20$400110ac@cooldaddio
I used a tab, then a pipe, both produced the same results.

LAWNS|123|GOOD

LAWNS|12|GOOD

----- Original Message ----- 
From: "Gunnar Hjalmarsson" <noreply@gunnar.cc>
To: <beginners@perl.org>
Sent: Sunday, February 15, 2009 9:16 AM
Subject: Re: Add Line break when first of a line changes


> Jack Butchie wrote:
>> I did some fiddling with the list.  I noticed if the second or third or 
>> whatever column wasn't exactly the same as the previous, even though the 
>> tex in the first field was the same,  line was being added.
>
> What's the field separator?
>
> -- 
> Gunnar Hjalmarsson
> Email: http://www.gunnar.cc/cgi-bin/contact.pl
>
> -- 
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
> 


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About