Author Topic: New Perl Util Ports  (Read 2100 times)

beermad

  • Newbie
  • *
  • Posts: 2
    • View Profile
New Perl Util Ports
« on: August 18, 2005, 12:38:31 pm »
Possibly of use to any Perl developers out there; I've compiled some useful stuff on my 5500. As it's not GUI-based, I'd guess it'll work OK on any ARM-based Zaurus.
Main reason for porting them was to support a project I'm working on (which will be released under the GPL when it's finished) but as they might be useful to other people, it seems sensible to make them available.

1. Persistent Perl. Keeps Perl scripts in a compiled state so the interpreter doesn't have to re-compile them next time they run. Particularly useful on a slow machine like the 5500; one small script I tested took 0.14 seconds to run when it had to compile, but next time I ran it, the duration was only 0.01 seconds. Available from http://prdownloads.sourceforge.net/persist...rm.ipk?download

2. Perl DBI. The database-independent Perl modules for accessing databases. Available from http://prdownloads.sourceforge.net/perl-my...rm.ipk?download

3. Perl MySql DBD. The database access modules specific to MySQL. Both these and the DBI are neede to work with a database. Available from http://prdownloads.sourceforge.net/perl-my...rm.ipk?download

Note that the database modules install to /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux, so if your @INC doesn't include that directory, you'll need to specify it in a "use lib" directive before using the modules.

Hope this is useful to someone
Cheers
Tony Green
http://www.beermad.org.uk

snubnose

  • Newbie
  • *
  • Posts: 4
    • View Profile
New Perl Util Ports
« Reply #1 on: September 03, 2005, 06:29:16 pm »
thanks for sharing the packages...

I want to run perl using the Net:Whois package and Pgsql
is there a way to compile these things myself ?
the CPAN doesn't work at all so I'm having trouble to manage it