From 5c57484c14fd3eaf43334ff68cc33834c3386a69 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 13 Sep 2013 10:22:31 +0200 Subject: we don't handle the new // operator --- TODO | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'TODO') 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'); -- cgit v1.2.1