Thread scalar comma operator (25 answers)
Opened by KurtZ at 2008-12-31 02:05

pq
 2008-01-09 17:40
#104549 #104549
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
lichtkind+2008-01-08 23:08:55--
klar, komma erzeugt in perl 6 automatisch ein array. so das:

Code: (dl )
$a = 2,3,4;


$a zu einer arrayreferenz wird. wenn du wirklich nur das letzte ergebnis willst trenn die ausdrücke mit ";" :)

dann macht pugs 6.2.13 das noch falsch...
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread scalar comma operator