From: Jason Larson <[EMAIL PROTECTED]> > __Disclaimer__ ***Sorry about the giant company disclaimer at the end***
I've seen much longer :-) > I have a script (script follows signature) that works just fine when > executed at the command line (i.e. perl.exe fixnetrcname.pl). I want to > make this an executable to distribute to systems that don't have Perl > installed, but when I run the compiled EXE, I get the error: > ---------- > Can't call method "Clone" on an undefined value at Win32/TieRegistry.pm > line 146 Sorry I don't understand why this happens. Just a wild guess ... could you try to name your variable something else than $Registry? > I know I can just write the script with use Win32::Registry (instead of > Win32::TieRegistry), but the documentation from AS says that Win32::Registry > is obsolete, and that I should use Win32::TieRegistry. If you install the Win32::Registry2 patch you'll get more functions, better docs and the "obsolete" remark will go away as well ;-) Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]