Perl: Process an array or a hash inside a Template
Process and array or a hash inside a perl template #Print an Array named items [% FOREACH item IN items -%] [% item %] [%… Read More »Perl: Process an array or a hash inside a Template
Process and array or a hash inside a perl template #Print an Array named items [% FOREACH item IN items -%] [% item %] [%… Read More »Perl: Process an array or a hash inside a Template
Lets create a controller named ‘home‘ with views ‘index‘, ‘view2′ view3’. Fortunately, you can do that in a single command. Enter this command in your… Read More »RubyOnRails: Create a Controller and Views for it using a single command
If you are writing a custom module, and you want it to be accessed only by admins, then you possibly need the following code in… Read More »Magento: Check if an admin is logged in or not
Below is a perl function that i wrote to print a HASH completely. What i mean by ‘completely’ is that it will expand all hashes… Read More »Perl: Function to print a HASH completely