summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-09-13 10:22:31 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-09-13 10:22:31 +0200
commit5c57484c14fd3eaf43334ff68cc33834c3386a69 (patch)
tree36ca505f2ba0c19670055715b0db818554f5af74 /TODO
parent344ad8521849bbccf655d1708852af900866f58f (diff)
downloadperl_checker-5c57484c14fd3eaf43334ff68cc33834c3386a69.tar
perl_checker-5c57484c14fd3eaf43334ff68cc33834c3386a69.tar.gz
perl_checker-5c57484c14fd3eaf43334ff68cc33834c3386a69.tar.bz2
perl_checker-5c57484c14fd3eaf43334ff68cc33834c3386a69.tar.xz
perl_checker-5c57484c14fd3eaf43334ff68cc33834c3386a69.zip
we don't handle the new // operator
Diffstat (limited to 'TODO')
-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');