

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Programming Languages; Subject: Computer Science; University: Utah State University; Term: Unknown 1989;
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


void $scalar whole: @array %hash scalar @array slice: @array[0, 2] @hash{โaโ, โbโ} list %hash element: $array[0] $hash{โaโ} &sub glob SCALAR VALUES number, string, reference, glob, undef REFERENCES \ references $$foo[1] aka $foo->[1] $@%& dereference $$foo{bar} aka $foo->{bar} [] anon. arrayref ${$$foo[1]}[2] aka $foo->[1]->[2] {} anon. hashref ${$$foo[1]}[2] aka $foo->[1][2] () list of refs NUMBERS vs STRINGS OPERATOR PRECEDENCE = = -> +. ++ -- == != eq ne ** < > <= >= lt gt le ge ! ~ \ u+ u- <=> cmp =~ !~