<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
If you have "use strict;", it just means that you have to explicitly
define your variables before you use them.  That means that you either
have to have a section where you define the variables that you're going
to use such as:<br>
<br>
my $foo;<br>
my $bar;<br>
my $baz;<br>
<br>
or you have to define it the first time it's used (and only the first
time), such as<br>
<br>
#do some things<br>
my $foo="bar";<br>
$foo="baz";<br>
<br>
It's designed to make sure that you don't have typos inside your
variable names and is mostly just a matter of style more than anything
else.  That doesn't address your LDAP issue, but should help to show
why the fatal error was occurring.<br>
<br>
Aaron Zuercher wrote:
<blockquote
 cite="mid:be26f10d0811051151j2c4b0ce4w506b8bf260846059@mail.gmail.com"
 type="cite">A followup:<br>
  <br>
I looked at the User_Vendor.pm file in the error and commented out the
"use strict;" line at the beginning of the file.  now I can login as
root but not LDAP.  I'm not a programmer so I don't understand the
sigificance of that statement.  Will my "fix" cause any other
errors/problems?  Is there a better option?<br>
  <br>
Thanks<br>
  <br>
  <br>
  <br>
  <div class="gmail_quote">On Wed, Nov 5, 2008 at 1:48 PM, Aaron
Zuercher <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:aaron.techgeeks@gmail.com">aaron.techgeeks@gmail.com</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
guys,<br>
I've been following the discussions about ExternalAuth with great
interest as I"ve been slowly working to move my 3.6.0 install to the
most current version.  I'm trying to setup ExternalAuth to LDAP
currently.  When its enabled I get this message in the browser when I
try to login:<br>
    <br>
Can't use string ("My_LDAP") as an ARRAY ref while "strict refs" in use
at /opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm
line 728, line 273.
    <br>
    <br>
I cannot login as root (local) or LDAP.  I installed ExternaAUth v006
which I understand has a bug in it but i'm not sure if this is the same
error or something different.  Can somone point me in the right
direction?<br>
    <br>
Thanks,<br>
    <font color="#888888">Aaron<br>
    </font></blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>

Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a></pre>
</blockquote>
</body>
</html>