Category Archives: Programming

How To Pass PERL Library Paths From The Environment

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 … Continue reading

Posted in How Tos, perl, Programming | 3 Comments

How To Prevent A PERL Script From Running As Root

At or near the top of your app, before it executes anything sensitive, place the following code: if((getpwuid($

Posted in How Tos, perl, Programming | 1 Comment

Python HOWTO Push a Dict on to a List (push a hash on to an array)

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 … Continue reading

Posted in How Tos, Programming, python, Software | Leave a comment