|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: When you first encountered Perl, which feature amazed you the most?by wisgest (Initiate) |
| on Mar 27, 2025 at 00:51 UTC ( [id://11164459]=note: print w/replies, xml ) | Need Help?? |
|
Slices.For example, let @f and @g contain permutations of the numbers 0..$#f. Then the product (composition) of these permutations can be obtained in one step as @f[@g]. It is also easy to obtain the inverse permutation
(swap indices and values): Assignment operators as lvalues.I've always wanted to have in a programming language the ability to do something like this:
In Section
Past Polls
|
|
||||||||||||||||||||||||||||||