diff options
-rw-r--r-- | TODO | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +- // + o $home = $ENV{HOME} // $ENV{LOGDIR} // (getpwuid($<))[7] // die "You're homeless!\n"; + o arrays: + @a = @b || @c; # this is wrong + @a = scalar(@b) || @c; # really meant this + @a = @b ? @b : @c; # this works fine, though + - Lexical Subroutines - package foo; our @ISA = ('bla'); package bar; our @ISA = ('bla'); |