Discussion:
[Unattended] sample-config.pl
Naoyuki Tai
15 years ago
Permalink
Hello,

I copied site/sample-config.pl to site/config.pl, and it fails,
it says push_value does not exist for $u (or something).

I write software for living but I don't do perl.

I replaced all of push_value with something like

$u->push_value( 'foo', 'bar', sub { return lookup_property('baz'); });

to

$u->{'foo'}->{'bar'} = sub { return lookup_property('baz'); };

but, as I said, I don't know much about perl.

Now, the installation fails as:

Found ComputerName for Defalut: *
Found FullName for Default: Administarator
Found OrgName for Default: "WCE"
Use of uninitialized value $path in exists at
/z/lib/Unattended/WinMedia.pm line 28.
do /z/site/config.pl failed: internal error converting path '\amd64' at
/z/dosbin/install.pl line 45.

a - is this "sample-config.pl" supposed to work as is?
if so what am I doing wrong?

b - what is the failure?
As I don't know much about perl, it's a bit of mystery but I think
amd64 is coming from lib/Unattended/WinMedia.pm but I'm not sure what is
triggering the failure.
Since I can see ComputerName, FullName and OrgName, I'm gussing some
of them in config.pl is right.

-- Tai, on behalf of World Computer Exchange
Naoyuki "Tai" Tai, ntai a t smartfruit d o t com

Loading...