--- chris brown <[EMAIL PROTECTED]> wrote:
> --- David Falck <[EMAIL PROTECTED]> wrote:
> >--snip--
> 
> I am pretty new at Perl so don't know the syntax to do
> this, but could you sidestep the issue and count the
> number of bytes in \n, then subtract as appropriate?

\n is just one byte, but you might test for whether it occurs very
often without \r in front of it......

=====
print "Just another Perl Hacker\n"; # edited for readability =o)
=============================================================
Real friends are those whom, when you inconvenience them, are bothered less by it than 
you are. -- me. =o) 
=============================================================
"There are trivial truths and there are great Truths.
 The opposite of a trival truth is obviously false.
 The opposite of a great Truth is also true."  -- Neils Bohr

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to