[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Regenerating autoloader files
- Subject: [cobalt-developers] Regenerating autoloader files
- From: "Martin Pircher" <cobalt.list@xxxxxxxxxx>
- Date: Sun Sep 22 12:37:01 2002
- Organization: http://www.iplexx.at/
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hello,
I wanted to do some tweakings to Cobalt's "special sauce"
(located in \usr\lib\perl5\site_perl\Cobalt) on my (ancient -
I know; somebody else still using it?) Qube2.
However, to succed, I'm in the need of regenerating
the autoloader files (located in /usr/lib/perl5/site_perl/auto/Cobalt).
Doing this by simply calling "autosplit" doesn't work as the
generated files lack a specific header with hardcoded
paths and hardcoded global variables (specific to each
perl module) - see sample below.
Cobalt itself used a utility called "autoize" (as outlined by
Cobalt employee Sridhar Gopal in a posting to the cobalt-users
list, see http://list.cobalt.com/oldlist/cobalt-users/msg02646.html )
which is not included in the distributed OS.
Does anybody has this utility or knows where to get it from,
or how to simulate/build it myself?
Any help appreciated - thanks,
Martin
--- sample ---
# This autoloader file was built automatically by
# /usr/local/sbin/autoize from User.pm
# Copyright 1998 Cobalt Networks (http://www.cobaltnet.com)
use strict;
### START HARDCODED PATHS
my $Adminuser = "admin";
[...specific stuff for user.pm...]
my $Debug = (-e "/etc/DEBUG") ? 1 : 0;
$^W = ($Debug ||= 0);
### END HARDCODED PATHS
# NOTE: Derived from /usr/lib/perl5/site_perl/Cobalt/User.pm. Changes made
here will be lost.
package Cobalt::User;
[...starting by #NOTE this is autosplit output...]