develooper Front page | perl.perl6.language | Postings from May 2005

Question on "is chomped"

Thread Next
From:
Joshua Gatcomb
Date:
May 12, 2005 11:52
Subject:
Question on "is chomped"
Message ID:
941eab8405051211527ff0689a@mail.gmail.com
While E02 states that "is chomped" sets the chomped property of
afilehandle, I didn't find any detailed specifications in any of the
As or Ss.

So - is "is chomped" always the equivalent of:

while ( <FH> ) {
    chomp;
}

For instance - you have opened the file rw

Or, the idea of having mutator and non-mutator versions of chomp (and
other functions) have been kicked around the list.

Any definitive word yet?

Cheers,
Joshua Gatcomb
a.k.a. L~R

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