Moscow.pm also reminds that today (22 Apr) is the birthday of Lenin :-)
March 2010 development release of Rakudo Perl #28 Moscow.
--
Andrew Shitov
__
a...@shitov.ru | http://shitov.ru
shift
}
debug 'me'
And finally, Perl is not an Assembler with one only instrucion per
line.
--
Andrew Shitov
__
[EMAIL PROTECTED] | http://www.shitov.ru
JavaScript allows to omit semicolumn.
Sorry, s/lumn/lon/.
By the way, Perl also ignors semicolumn :-)
--
Andrew Shitov
__
[EMAIL PROTECTED] | http://www.shitov.ru
';' is not as simple as
\n always means ;\n. In mentioned JavaScript language one can
do this:
script
var
x
=
123
alert
(
x
)
/script
and that will work!
;\n can almost always be converted into \n but not vice versa.
--
Andrew Shitov
__
[EMAIL
of that day, compiled into Parrot bytecode (.pbc) and run
on Apache under Parrot virtual machine. I cannot do the same with
today's instrumentary (or maybe I do not know how to?).
Thank you for understanding :-)
--
Andrew Shitov
Is it possible to avoid significance of whitespaces?
I think, such an aspect of Perl 6 would be awful.
IB Whitespace is significant:
IB say zip(@odd, @even);
IB say zip (@odd, @even);
--
___
Andrew, [EMAIL
TTS BTW, you didn't mean originally:
TTSsay zip (@odd), (@even); # prints 13572468 or 12345678?
That is exactly like with similar printing result of sub() call:
print sqrt (16), 5; # shout print 45.
--
___
LP my $x = (1,2,3,4,5);
LP Looks like an error more than anything else.
'Perl 6 and Parrot Essentials' think different ;-)
--
___
Andrew, [EMAIL PROTECTED]
DW my $text is TextFile(/tmp/bar);
DW $text = hello; # writes, truncates
DW $text ~= , world\n; # appends
DW $text.print again\n; # for old-times sake
Anyhow we still need $text.flush() or $text.close() methods.
--
I think I have somesing missed: is it possible to open (that is read and
write) files in perl6 programmes? Those programmes that can be run under
current parrot release.
Thanks.
Is it possible to get environment variables from perl6 programme? It
failes when I try to use perl5 hash %ENV. Thanks.
I tried this one-line programme for example:
my %e = %ENV;
and got this (parrot-0.0.13/perl are built under mandrake linux):
Global '_HV_ENV' not found
Error: '/parrot-0.0.13/parrot -r env.imc ' failed with exit code 1
Stopped at /parrot-0.0.13/languages/perl6/perl6 line 339
12 matches
Mail list logo