summaryrefslogtreecommitdiffstats
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-10-02 09:16:39 +0200
commit420c9309b5eee60b4ae7abb963e85c84878a369b (patch)
tree36ca505f2ba0c19670055715b0db818554f5af74
parent2e2fc2913a5b28af0491d0b4f07740491b1d4c22 (diff)
downloadperl_checker-420c9309b5eee60b4ae7abb963e85c84878a369b.tar
perl_checker-420c9309b5eee60b4ae7abb963e85c84878a369b.tar.gz
perl_checker-420c9309b5eee60b4ae7abb963e85c84878a369b.tar.bz2
perl_checker-420c9309b5eee60b4ae7abb963e85c84878a369b.tar.xz
perl_checker-420c9309b5eee60b4ae7abb963e85c84878a369b.zip
we don't handle the new // operator
-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');