Thread PERL vs. C: gleicher Code, anderes Ergebnis (47 answers)
Opened by docsnyder at 2005-09-14 16:16

Crian
 2005-09-15 12:15
#57995 #57995
User since
2003-08-04
5873 Artikel
ModeratorIn
[Homepage]
user image
[quote=pKai,15.09.2005, 10:12][quote=phaylon,14.Sep..2005, 22:03]
Quote
$i = $i ++;
print ++ $i + $i ++;

Perl will not guarantee what the result of the above statements is.

perldoc perlop[/quote]
???
Also bei mir steht das nicht in perldoc perlop.
In welchem Abschnitt ggf.?[/quote]
Über alle Maßen erstaunlicher Weis im Abschnitt "Auto-increment and Auto-decrement" ;)
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite

View full thread PERL vs. C: gleicher Code, anderes Ergebnis