in reply to Array Silliness
I am a fool who does not check his code sufficiently:
Firstly, I missed a semicolon off the "use Win32..." bit, then I did this:
Can you spot the foolish mistake?use Win32::FileSecurity (qw Get Set EnumerateRights MakeMask); my @admin_people = ("Elizabeth Adams", "Chris Millington", "Clerical") +; my @technical_people = ("Elizabeth Adams", "Chris Millington", "Cleric +al", "E&D Group");
This throws an error which caused me some serious headscratching.
5000 Hail Larrys for me...Possible attempt to separate words with commas at C:\bin\msdir.pl line + 6. syntax error at C:\bin\msdir.pl line 6, near "my @technical_people = ( +"Elizabeth Adams", "Chris Millington", "Clerical", "E&D Group" (Might be a runaway multi-line GG string starting on line 4) Execution of C:\bin\msdir.pl aborted due to compilation errors.
|
|---|