Skip Menu |

This queue is for tickets about the Config-General CPAN distribution.

Report information
The Basics
Id: 82637
Status: resolved
Priority: 0/
Queue: Config-General

People
Owner: Nobody in particular
Requestors: abraxxa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.51
Fixed in: (no value)



Subject: please don't use indirect object syntax
The documentation uses indirect object syntax which is considered bad practice since some years already. See 'Indirect Object Syntax' in http://perldoc.perl.org/perlobj.html#Invoking-Class-Methods and http://www.network-theory.co.uk/docs/perlref/perlobj_Indirect_Object_Syntax.html for an explanation.
Can you show me an example?
Am Mo 14. Jan 2013, 07:53:15, TLINDEN schrieb: Show quoted text
> Can you show me an example?
For the non indirect object syntax? Instead of $conf = new Config::General("rcfile"); $conf = Config::General->new("rcfile");
Fixed in 2.52. I fixed it in code as well, since I used the notation at a couple of places. Thanks!