Version: 3.8.4 OS: Fedora release 11 Perl: Perl v5.10.0 under linux Fcntl: Fcntl v1.06;
This demo.pl program generates errors when "use Fcntl;" is included and otherwise works as expected. a. Can someone replicate this error? b. Any ideas about a solution? Thanks, dano --- debug.pl --- #!/usr/bin/perl use lib qw(/mp3/tools/rt/lib); use lib qw(/mp3/tools/rt/local/lib); # Request Tracker API use RT; use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc); use Fcntl; # uncommented -> errors, commented -> no errors CleanEnv(); RT::LoadConfig(); RT::Init(); print "1. hello world\n"; my $CurrentUser = GetCurrentUser(); print "2. hello world\n"; --- Here is a partial error text: Use of uninitialized value $name in concatenation (.) or string at /mp3/tools/rt/lib/RT/Config.pm line 666. Use of uninitialized value $name in hash element at /mp3/tools/rt/lib/RT/Config.pm line 668. Couldn't load RT config file RT_SiteConfig.pm: Not a SCALAR reference at /mp3/tools/rt/lib/RT/Config.pm line 709. Compilation failed in require at /mp3/tools/rt/lib/RT/Config.pm line 516. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [email protected] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
