On Thu, Jul 07, 2005 at 06:15:03PM -0700, Paul Hodges wrote:
: 
: 
: --- Larry Wall <[EMAIL PROTECTED]> wrote:
: > Arguably, we could probably admit
: > 
: >     $fh.pos = 10`bytes
: > 
: > for the case of seeking from the begining.  But I'd kind of like
: > 
: >     $fh.pos = 10
: > 
: > to be considered an error.
: 
: It seems a logical extension also to say
: 
:       $fh.pos += 10`bytes
: 
: as shorthand for 
: 
:       $fh.pos = $fh.cur + 10`bytes

.pos and .cur are the same thing.  So just call them both .pos, I think.

: Likewise for -=
: 
: But then that begs the questions of *= (not too nuts), /= (same),
: %= (great for fixed length records?) and the predictable other host of
: operators.
: 
: Am I reaching?

No.  The stupid people are the ones proposing to outlaw stupidity.  :-)

Larry

Reply via email to