Thread warning: Attempt to free unreferenced scalar (26 answers)
Opened by steffenw at 2005-02-24 10:37

ronald
 2005-02-25 09:03
#52037 #52037
User since
2003-08-15
76 Artikel
BenutzerIn
[default_avatar]
[quote=steffenw,24.02.2005, 09:55]nee, das ist ein "simples" CGI-Script
Code: (dl )
1
2
3
4
5
6
7
8
9
...
elsif {
my $ref; # die Zeile wird angemeckert aber funktionieren tut alles
if (
%ab and $FORM{switch} eq 'ab' and $ref = \%ab
or
%ba and $FORM{switch} eq 'ba' and $ref = \%ba
) {
...
[/quote]
Code: (dl )
1
2
3
4
5
6
  if (
%ab and $FORM{switch} eq 'ab' and $ref = \%ab
or
%ba and $FORM{switch} eq 'ba' and $ref = \%ba
) {
...


Bist du sicher, dass du die Variable $ref belegen willst?
Oder willst du $ref und \%ab vergleichen? Falls ja, gibt es da keine bessere Methode??

View full thread warning: Attempt to free unreferenced scalar