|
> I'm not sure what you mean by equivalent ... It means that for basic stuff they are pretty much the same. Variables & data structures (scalars, arrays, mappings), creating and calling functions, creating and instantiating classes, looping, if/then/else, talking to the network, talking to the OS, talking to the db, etc. This basic stuff is in all these languages; the only real differences are in the syntax (and that's not even very different). For many programming tasks, you're just doing these basics over and over again. Any language will work, so you may as well pick one that's got it where it counts -- modules, since that will make the most difference in how much extra code you have to write. And Perl wins that competition with the CPAN. > Would they have gone off in search of the Holy Grail with Perl 6 ... Thing is, it's not a Holy Grail. It's just the next revision of Perl. Take a look at some example Perl 6 code online; they've cleaned things up, fixed some boo-boos, and upon seeing it I expect you'll matter-of-factly say, "oh, yeah, still looks like Perl :)". |
http://en.wikipedia.org/wiki/Perl6#Goals
Sure, at some high-level they're all the same, but the devil is in the details. Just saying they're all the same is specious.