Perl 6 Perl 6 Lists, Arrays, and Hashes vivified #45

Nil

The Nil value represents "nothingness"

Empty parcel in list context

Produces an undefined value in item context

Default for null return statements and values

sub xyz() { say 'hello'; return; }

my $x = xyz();   # stores Any in $x
say xyz();       # say sees an empty Parcel
Copyright © 2011
http://www.pmichaud.com/2011/pres/