diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-09-13 10:22:31 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-09-13 10:22:31 +0200 |
commit | 5c57484c14fd3eaf43334ff68cc33834c3386a69 (patch) | |
tree | 36ca505f2ba0c19670055715b0db818554f5af74 | |
parent | 344ad8521849bbccf655d1708852af900866f58f (diff) | |
download | perl_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
-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'); |