summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO7
1 files changed, 7 insertions, 0 deletions
diff --git a/TODO b/TODO
index da71651..55dc1ee 100644
--- a/TODO
+++ b/TODO
@@ -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');