Thread Arrays are not lists (14 answers)
Opened by KurtZ at 2008-02-23 17:30

pq
 2008-02-23 19:31
#106305 #106305
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
KurtZ+2008-02-23 18:29:03--
betterworld+2008-02-23 18:17:22--
Listen sind immer anonym... sonst waeren es ja Arrays.


ich hab Benennungsprobleme!
{} = ref anonymer Hash
[] = ref anonymes Array
() = ??? ... nagut ... leere Liste

der punkt ist, [] und {} sind datenstrukturen, die als variable (anonym) irgendwo im
speicher sind. () ist keine datenstruktur, sondern nur eine 'verpackung' für
weitergereichte daten.
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 Arrays are not lists