develooper Front page | perl.perl5.porters | Postings from May 2012

Re: [perl #32915] "use numbase"

Thread Previous
From:
Johan Vromans
Date:
May 27, 2012 01:21
Subject:
Re: [perl #32915] "use numbase"
Message ID:
m2r4u63ugz.fsf@phoenix.squirrel.nl
"James E Keenan via RT" <perlbug-followup@perl.org> writes:

(Not strictly responding to Jim, but nevertheless:)

> On Wed Dec 08 14:32:47 2004, raneto wrote:
>> use octal
>> for (my $i = 06; $i<012; $i++) {print " $i";}
>> 
>> (6 7 10 11 instead of 6 7 8 9)

I feel an analogy to "use utf8" and hence I'd expect it to read:

  use octal;
  for (my $i = 6; $i<12; $i++) {print " $i";}

  (6 7 8 9)

-- Johan

Thread Previous


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