I'm trying to write a Perl script that...
Articles and Tips: qna
01 Jul 2002
Q.
I'm trying to write a Perl script that will create new eDirectory users using Perl2UCS, but it's abending my server. It abends at the $Dir =3D Perl2UCS->new...
The Perl output screen shows:
Loading module PERL2UCX.NLM Auto-loading module UCSCORE.NLM using Perl2UCS Loading UCS2UCX.NLM
Here's a code snippet:
#!/usr/local/bin # Test script to access e-Directory use Perl2UCS; print "using Perl2UCS \n"; $Dir =3D Perl2UCS->new("ucx:NWDir") or die "Failed to instantiate the = NWDir UCS component. \n"; print "NWDir UCS component instantiated \n";
Here are the versions I am using:
Perl 5.6.1
Netware 6.0.1
Any ideas or helpful thoughts?
A.
Since you are running NetWare 6.0 with Support Pack 1, you need to check the version of PERL.NLM and PERL2UCS.NLM with your pre-Support Pack 1 modules. It seems that NW6SP1 downgrades Perl and so Perl problems are very frequent afterwards. If you made a backup of your original files during the SP1 process, look there while comparing your modules.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.