Brain Goo

Carpe Crap ’em

Brain Goo header image 4

Ads help keep this site alive:

Entries Tagged as 'perl'

HOWTO: Create a random alpha-numeric string in Perl

December 27th, 2013 · No Comments

Creating an alpha-numeric string in Perl is easy, but having a quick function you can call is better! This is very useful for things like password generators. To see how to do this in Python, check out this post: …howto-create-a-random-alpha-numeric-string-in-python To see how to do this in PHP, check out this post: …howto-create-a-random-alpha-numeric-string-in-php sub makeID […]

[

Tags: How Tos · perl · Programming

Build A Custom PERL Installation

April 11th, 2011 · 2 Comments

If you want to build a PERL installation that is separate from your standard PERL, you can compile one, complete with CPAN support. Just follow these steps: mkdir /custom/perl/ cd /custom/perl/ curl -O mkdir perl-5_12_3 gunzip perl-5.12.3.tar.gz tar -xf perl-5.12.3.tar cd perl-5.12.3 ./Configure -d -Dprefix=/custom/perl/perl-5_12_3 make make test make install /custom/perl/perl-5_12_3/bin/perl -v /custom/perl/perl-5_12_3/bin/perl -e […]

[

Tags: How Tos · perl · Programming

How To Pass PERL Library Paths From The Environment

April 11th, 2011 · 3 Comments

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 […]

[

Tags: How Tos · perl · Programming