Guten Tag Kristis Makris,
am Samstag, 5. Februar 2011 um 23:53 schrieben Sie:

>> Using a hash as a reference is deprecated
>> at /usr/share/scmbug/lib/Scmbug/Daemon/Process.pm line 1207.

> I don't get this error with Perl 5.10.0. Which version of Perl are you 
> rinning?

The warning itself is really old, we had in our software with perl
versions since 5.8.x and looking at the code I would think the warning
is right, not only for line 1207, but for every line where %mail is
used.

%mail = %{ $request->{ policies }->{ mail_notification }->{ mail_settings } };

This creates a hash, not a reference to a hash, what using -> implies.

Just change %mail->{...} to %mail{...} or create a hash ref, whatever
you like most.

$mail = \%{ $request->{ policies }->{ mail_notification }->{ mail_settings } };

>  $hashref   = \%ENV;

http://perldoc.perl.org/perlref.html

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  [email protected]
Web:     http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to