that one is crap too. again: i'm sorry On Sat, Nov 07, 2015 at 10:13:17AM +0100, Marc Chantreux wrote: > hello Moritz, > > On Sat, Nov 07, 2015 at 08:17:21AM +0100, Moritz Lenz wrote: > > my %x = < login jdoe first john last doe >; > > my %y = flat (:enable, %x< login first >:p); > > i tried :p but the thing is i was searching for something straight as > the perl5 > > my %y = (%x, qw( enable 1 )); > > si i really loved > > my %x = < login jdoe first john last doe >; > my %y = ( :enable, %x< login first >:p); > > to work. > > > first => john, last => doe, login => jdoe > > Odd number of elements found where hash initializer expected > in block <unit> at <unknown file>:1 > > > > > > [31m===[0mSORRY![31m===[0m Error while compiling <unknown file> > Variable '%x' is not declared > at <unknown file>:1 > ------> [32m my %y = :enable, [33m⏏[31m%x< login first >:p; [0m > > my %x = < login jdoe first john last doe >; > > > > say %y.perl; # {:enable, :first("john"), > > :login("jdoe")} > > > > Cheers, > > Moritz > > -- > Marc Chantreux (eiro on github and freenode) > http://eiro.github.com/ > http://eiro.github.com/atom.xml > "Don't believe everything you read on the Internet" > -- Abraham Lincoln
-- Marc Chantreux (eiro on github and freenode) http://eiro.github.com/ http://eiro.github.com/atom.xml "Don't believe everything you read on the Internet" -- Abraham Lincoln