Welcome To Snipplr

Everyone's Recent Perl Snippets Tagged array

« Prev 1 Next »
This is inspired by this http://www.cgi101.com/book/ch5/text.html so I'm using a similar example. In PHP you can combine a set of checkboxes into an array using square brackets like this: <form> <input> Red<br> <input> Green<br>...
1 127 posted 10 years ago by ptepper
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 83 posted 10 years ago by deepsoul
« Prev 1 Next »