@@ -2530,24 +2530,32 @@ combinations such as I<:kv:p> or I<:v:k> simply do not make sense.
2530
2530
2531
2531
These combinations are considered legal and mean the following:
2532
2532
2533
- :delete :p delete, return pairs of actually deleted keys
2534
- :delete :!p delete, return pairs of all keys attempted
2535
2533
:delete :kv delete, return key/values of actually deleted keys
2536
2534
:delete :!kv delete, return key/values of all keys attempted
2537
- :delete :v delete, return values of actually deleted keys
2538
- :delete :!v delete, return values of all keys attempted
2535
+ :delete :p delete, return pairs of actually deleted keys
2536
+ :delete :!p delete, return pairs of all keys attempted
2539
2537
:delete :k delete, return actually deleted keys
2540
2538
:delete :!k delete, return all keys attempted to delete
2539
+ :delete :v delete, return values of actually deleted keys
2540
+ :delete :!v delete, return values of all keys attempted
2541
2541
:delete :exists delete, return Bools indicating keys existed
2542
2542
:delete :!exists delete, return Bools indicating keys did not exist
2543
- :delete :exists :p delete, return pairs with key/True for key existed
2544
- :delete :!exists :p delete, return pairs with key/False for key existed
2545
- :delete :exists :!p delete, return pairs with key/Bool whether key existed
2546
- :delete :!exists :!p delete, return pairs with key/!Bool whether key existed
2547
2543
:delete :exists :kv delete, return list with key,True for key existed
2548
2544
:delete :!exists :kv delete, return list with key,False for key existed
2549
2545
:delete :exists :!kv delete, return list with key,Bool whether key existed
2550
2546
:delete :!exists :!kv delete, return list with key,!Bool whether key existed
2547
+ :delete :exists :p delete, return pairs with key/True for key existed
2548
+ :delete :!exists :p delete, return pairs with key/False for key existed
2549
+ :delete :exists :!p delete, return pairs with key/Bool whether key existed
2550
+ :delete :!exists :!p delete, return pairs with key/!Bool whether key existed
2551
+ :exists :kv return pairs with key,True for key exists
2552
+ :!exists :kv return pairs with key,False for key exists
2553
+ :exists :!kv return pairs with key,Bool for key exists
2554
+ :!exists :!kv return pairs with key,!Bool for key exists
2555
+ :exists :p return pairs with key/True for key exists
2556
+ :!exists :p return pairs with key/False for key exists
2557
+ :exists :!p return pairs with key/Bool for key exists
2558
+ :!exists :!p return pairs with key/!Bool for key exists
2551
2559
2552
2560
An implementation is free to silently ignore any other combinations or
2553
2561
silently prefer one of the adverbs given above any other.
@@ -4522,7 +4530,7 @@ versioning schemes seen in the real world. Modules with such strange
4522
4530
versions can still be used by Perl since by default Perl imports
4523
4531
external modules by exact version number. (See S11.) Only range
4524
4532
operations will be compromised by an unknown foreign collation order,
4525
- such as a system that sorts "delta" after "gamma".
4533
+ such as a system that sorts "delta" before "gamma".
4526
4534
4527
4535
=head2 Allomorphic value semantics
4528
4536
0 commit comments