in reply to Re^2: PERL en ADSI
in thread PERL en ADSI
Yep.
Add
To the top of that code, and Perl will tell you what is technically wrong and help get the code to run.use strict; use warnings;
You will save yourself from a million headaches if you use those liberally.
(Appended)
PS:
A quick look through the Win32::OLE description indicates that your code probably won't compile because "in" isn't exported by default. You probably want to add that and anything else you want to use to your use statements up top.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: PERL en ADSI
by PerlUserNL (Initiate) on Jan 11, 2011 at 14:37 UTC | |
by Sinistral (Monsignor) on Jan 11, 2011 at 15:46 UTC | |
by Corion (Patriarch) on Jan 11, 2011 at 14:46 UTC |