> Finally, there's a way to stop non-identical strings from matching just because they have the same numerical value. Um, this has been there for decades: $a = '123'; $b = '123.0'; print $a == $b ? 'y' : 'n'; # prints y print $a eq $b ? 'y' : 'n'; # prints n
Larry Wall Unveils Perl 6.0.0
31–40 of 336 posts
Re: Larry Wall Unveils Perl 6.0.0
#32Re: Larry Wall Unveils Perl 6.0.0
#33> ++; # An anonymous state variable, for very fast loops Perl, never stop being you
react { whenever } # Code runs when a condition is met.
I can only think this must be a generic https://en.wikipedia.org/wiki/COMEFROM. It is sure going to create some viciously subtle bugs.Re: Larry Wall Unveils Perl 6.0.0
#34Given how much of contemporary programming is munging, I can see it really picking up steam.
Re: Larry Wall Unveils Perl 6.0.0
#35Re: Larry Wall Unveils Perl 6.0.0
#36sidenote: why does a barracuda device consider pigdog.org "Porn"?
Re: Larry Wall Unveils Perl 6.0.0
#37> ++; # An anonymous state variable, for very fast loops Perl, never stop being you
Also: react { whenever } # Code runs when a condition is met. I can only think this must be a generic https://en.wikipedia.org/wiki/COMEFROM . It is sure going to create some viciously subtle bugs.
Re: Larry Wall Unveils Perl 6.0.0
#38> ++; # An anonymous state variable, for very fast loops Perl, never stop being you
Re: Larry Wall Unveils Perl 6.0.0
#39Junctions and autothreading seem to be importing the core of APL/J: http://doc.perl6.org/type/Junction (I'm randomly scanning http://faq.perl6.org )
Perl 6 basically hoovered every good programming concept they could think of (and some that ended up being not so good, which have hopefully been shaken out over the last decade). If you want a small language, this is not it. If you want an amazingly powerful language that just allows you to do what you want with a minimum of fuss, pull up a seat.
One thing Go does well is provide the gofmt tool. There is only one way to format code properly.
Does Perl 6 have something like this?
Re: Larry Wall Unveils Perl 6.0.0
#40Seems too little too late. Is Perl still relevant in 2015? What would you build in Perl today that you wouldn't build in another language instead? I used to be a big fan of Perl but it seems to have fallen behind the times, I doubt Perl 6 is enough to catch up.