Menu

#2 Perl syntax error in Functions.pm

open
nobody
None
9
2006-05-13
2006-05-13
No

$ uname -a
Linux localhost.localdomain 2.6.16-1.2080_FC5 #1 Tue
Mar 28 03:38:34 EST 2006 i686 i686 i386 GNU/Linux

Error:
Can't declare hash dereference in my at
MyAdmin/Functions.pm line 439, near "$lcol ="
Compilation failed in require at ./myadmin.cgi line 18.
BEGIN failed--compilation aborted at ./myadmin.cgi line 18.

How to correct:
In MyAdmin/Functions.pm line 439 change:
- my %$lcol = map +( lc($_) => $col->{$_} ), keys %$col;
+ my $lcol = map +( lc($_) => $col->{$_} ), keys %$col;

Discussion

  • Ugnich Anton

    Ugnich Anton - 2006-05-13
    • priority: 5 --> 9
     
  • Ugnich Anton

    Ugnich Anton - 2006-05-13

    Functions.pm patch

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.