Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Perlito5 - TODO update

  • Loading branch information...
commit 0b08be2266ec2a1c217b52fb90e4d0a4dd01aef9 1 parent 4e96a26
@fglock authored
Showing with 22 additions and 0 deletions.
  1. +22 −0 TODO-perlito5
View
22 TODO-perlito5
@@ -32,6 +32,10 @@ TODO list for Perlito5
* Parser
+-- dot-decimal strings
+ $ perl -e ' my $v = 5.4.66.77 ; print $v, "\n"; require $v '
+ BM
+
-- "'" meaning "::"
$'m # $::m
$m' # String found where operator expected
@@ -251,6 +255,24 @@ TODO list for Perlito5
* Javascript backend
+-- dot-decimal strings
+ $ perl -e ' my $v = 5.4.66.77 ; print $v, "\n"; require $v '
+ BM
+
+-- variable declarations inside condition
+ if ((my $color = <STDIN>) =~ /red/i) {
+ $value = 0xff0000;
+ }
+ elsif ($color =~ /green/i) {
+ $value = 0x00ff00;
+ }
+ else { ... }
+
+ After the else, the $color variable is no longer in scope.
+
+-- do {} while / do {} until
+ execute the loop once, before checking the condition
+
-- 'require 5.006;'
# Can't locate 5.006 in @INC
Please sign in to comment.
Something went wrong with that request. Please try again.