Profile
Achievement
deepsoul's Recent Perl Snippets
- All /
« Prev 1 Next »
This Perl snippet shows how to separate quoted parts from a text in order to process quoted and unquoted parts separately. For example, you could expand variables or wildcards only in the unquoted part. Then the different processed parts are put to...
0
657
posted 11 years ago by deepsoul
Perl hash sets are hashes used to represent sets. Their keys are the set elements, and the corresponding values are just 1. For keys that are not set elements, the hash will return undef, equivalent to false.
Adding a whole array to a hash set i...
0
676
posted 14 years ago by deepsoul