Re: help slurping a file-- Solved -- Thanks for responses



On Oct 28, Renee Halbrook said:

My perl interpreter display does not recognize "\r" for a newline character
for standard out, so it simply printed the same line over on top of the
previous line, making it look like it was only reading one line total.
The slurping was working fine, but the display was not what I anticipating.

That's not Perl's issue. That's your terminal's issue. And it's not an "issue", because that's what \r is supposed to do. \r is a carriage return, which only means the cursor is brought back to the beginning of the line.


(Except maybe on Macs, I don't know. That's weird. I don't use a Mac, though, so I can't be sure.)

--
Jeff "japhy" Pinyan        %  How can we ever be the sold short or
RPI Acacia Brother #734    %  the cheated, we who for every service
http://www.perlmonks.org/  %  have long ago been overpaid?
http://princeton.pm.org/   %    -- Meister Eckhart
.



Relevant Pages

  • Re: help slurping a file-- Solved -- Thanks for responses
    ... for standard out, so it simply printed the same line over on top of the ... making it look like it was only reading one line total. ... (Except maybe on Macs, I don't know. ...
    (perl.beginners)
  • Re: Application Speed Problem - VERY weird
    ... MDE front ends not MDB ... If the DB is reading in a lot of records, ... The data is linked with the standard Access "link ... add that we have only ever used the database on Access 2K. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: home GTT - 75 grams glucose?
    ... hospital) and taking no medicines that could affect your blood glucose. ... Those are the standard numbers I've always seen. ... a significantly higher reading than just using the 30m/1h/2h/etc. ... Good doctors KNOW they are probably going to miss the peak just ...
    (alt.support.diabetes)
  • Re: home GTT - 75 grams glucose?
    ... hospital) and taking no medicines that could affect your blood glucose. ... Those are the standard numbers I've always seen. ... a significantly higher reading than just using the 30m/1h/2h/etc. ... Good doctors KNOW they are probably going to miss the peak just ...
    (alt.support.diabetes)
  • Re: asrock, problem with nic after windows-boot - Exact Opposite issue the OP is having
    ... concerning Reading the Startup "Buffer" of the Bootup ... Time to read those startup scripts, ... are identified as STANDARD, INFORMATIONAL and HISTORIC, etc.? ...
    (comp.os.linux.networking)