Do you know where your variables are? | |
PerlMonks |
Re: Re: Will my code work in Perl 6?by $code or die (Deacon) |
on Feb 08, 2002 at 19:39 UTC ( [id://144199]=note: print w/replies, xml ) | Need Help?? |
Hi, thanks for the corrections. And please use a monospaced font for code :) I thought I was! It looks ok on my screen. But my fonts were a little messed up by Opera. I checked it a few days ago in IE and it looked ok too. I was confused about the for/foreach bit. Apocalypse 4 says: 'And for will now always mean "foreach"'. Now I'm more confused. perlsyn says: '"foreach" keyword is actually a synonym for the "for" keyword'. I suppose it means that neither for, nor foreach will have the C-style (;;) construct. Thanks for the help. ___ Simon Flack ($code or die)$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$, =~y'_"' ';eval"die";print $_,lc substr$@,0,3;
In Section
Meditations
|
|