You can have PERL look in different places for libraries and modules using a number of methods. If you find yourself using a custom PERL module repository, you can make sure your PERL programs always reference it without touching the code. What we’re doing in a nutshell is telling PERL to push values on to [...]
Entries Tagged as 'Programming'
How To Pass PERL Library Paths From The Environment
April 11th, 2011 · No Comments
Tags: How Tos · perl · Programming
How To Prevent A PERL Script From Running As Root
March 29th, 2011 · No Comments
At or near the top of your app, before it executes anything sensitive, place the following code: if((getpwuid($
Tags: How Tos · perl · Programming
Python HOWTO Push a Dict on to a List (push a hash on to an array)
April 23rd, 2010 · No Comments
One of my more popular posts is How to Push a Hash on to an Array in PERL, but how do you push a dict on to a list in Python? Lists are one-dimensional arrays and dicts are associative arrays or hash arrays. This means we can do the same thing we do in other [...]
Tags: How Tos · Programming · python · Software